Skip to content

Commit

Permalink
Enable Hardened Runtime on macOS (#133)
Browse files Browse the repository at this point in the history
  • Loading branch information
lunacookies authored Jan 9, 2024
1 parent 595458c commit a9cca64
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ jobs:
- name: Create macOS archive
run: |
lipo -create -output ./${{ env.RELEASE_BIN }}-mac-universal ./target/x86_64-apple-darwin/release/${{ env.RELEASE_BIN }} ./target/aarch64-apple-darwin/release/${{ env.RELEASE_BIN }}
codesign --sign - --options runtime ./${{ env.RELEASE_BIN }}-mac-universal
tar -czvf ./${{ env.RELEASE_BIN }}-mac-universal.tar.gz ./${{ env.RELEASE_BIN }}-mac-universal
if: matrix.os == 'macos-latest'

Expand Down

0 comments on commit a9cca64

Please sign in to comment.