Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
HardhatChad committed Mar 18, 2024
1 parent 525c57e commit 747e692
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
path: ./target/release/bundle/osx/Ore.app

sign:
name: Sign
needs: build
runs-on: macos-latest
steps:
Expand All @@ -55,7 +56,7 @@ jobs:
security create-keychain -p "" build.keychain
security default-keychain -s build.keychain
security unlock-keychain -p "" build.keychain
security import certificate.p12 -k build.keychain -P ${{ secrets.MACOS_CERTIFICATE_PASSWORD }} -T /usr/bin/codesign
security import certificate.p12 -k build.keychain -P '${{ secrets.MACOS_CERTIFICATE_PASSWORD }}' -T /usr/bin/codesign
security set-key-partition-list -S apple-tool:,apple:-s -k "" build.keychain
- name: Sign the App
Expand All @@ -69,8 +70,8 @@ jobs:
path: ./target/release/bundle/osx/Ore.app

release:
needs: sign
name: Release
needs: sign
runs-on: ubuntu-latest
steps:
- name: Download macOS Application Bundle
Expand Down

0 comments on commit 747e692

Please sign in to comment.