From d229515ba39721771fefdfde2003e4b085b63236 Mon Sep 17 00:00:00 2001 From: Darrell Roberts Date: Thu, 2 Jan 2025 13:53:13 -0500 Subject: [PATCH] disable mac build temporarily --- .github/workflows/release.yml | 74 +++++++++++++++++------------------ 1 file changed, 37 insertions(+), 37 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 065f2dc..af391af 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,43 +9,43 @@ permissions: contents: write jobs: - build-and-release-macos: - runs-on: macos-latest - - steps: - - name: Checkout repository - uses: actions/checkout@v3 - - - name: Setup Rust - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - override: true - - - name: Setup Certificate - env: - CODE_SIGN_CERTIFICATE: ${{ secrets.CODE_SIGN_CERTIFICATE }} - CERT_PWD: ${{ secrets.CERT_PWD }} - run: | - echo "$CODE_SIGN_CERTIFICATE" | base64 --decode > certificate.p12 - stat -f "%N %z" certificate.p12 - security create-keychain -p "" build.keychain - security default-keychain -d user -s build.keychain - security unlock-keychain -p "" build.keychain - security import certificate.p12 -k build.keychain -P "$CERT_PWD" -T /usr/bin/codesign - security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k "" build.keychain - - - name: Build bundle - run: make bundle-mac - - - name: Create GitHub Release - id: create_release - uses: softprops/action-gh-release@v1 - with: - files: | - dist/MineSweeper.dmg - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # build-and-release-macos: + # runs-on: macos-latest + + # steps: + # - name: Checkout repository + # uses: actions/checkout@v3 + + # - name: Setup Rust + # uses: actions-rs/toolchain@v1 + # with: + # toolchain: stable + # override: true + + # - name: Setup Certificate + # env: + # CODE_SIGN_CERTIFICATE: ${{ secrets.CODE_SIGN_CERTIFICATE }} + # CERT_PWD: ${{ secrets.CERT_PWD }} + # run: | + # echo "$CODE_SIGN_CERTIFICATE" | base64 --decode > certificate.p12 + # stat -f "%N %z" certificate.p12 + # security create-keychain -p "" build.keychain + # security default-keychain -d user -s build.keychain + # security unlock-keychain -p "" build.keychain + # security import certificate.p12 -k build.keychain -P "$CERT_PWD" -T /usr/bin/codesign + # security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k "" build.keychain + + # - name: Build bundle + # run: make bundle-mac + + # - name: Create GitHub Release + # id: create_release + # uses: softprops/action-gh-release@v1 + # with: + # files: | + # dist/MineSweeper.dmg + # env: + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} build-and-release-linux: runs-on: ubuntu-latest