File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4141 (cd .out/windows/arm64; zip ../../fscript-${BUILD_VERSION}-windows-arm64.zip ./*)
4242 (cd .out/linux/x64; zip ../../fscript-${BUILD_VERSION}-linux-x64.zip ./*)
4343 (cd .out/linux/arm64; zip ../../fscript-${BUILD_VERSION}-linux-arm64.zip ./*)
44+ cp entitlements.plist .out/darwin/entitlements.plist
4445 (cd .out/darwin; zip -r ../fscript-${BUILD_VERSION}-darwin-unsigned.zip ./*)
4546
4647 - name : Extract version suffix
Original file line number Diff line number Diff line change 4444 run : |
4545 mkdir -p .out/darwin
4646 unzip -d .out/darwin fscript-${{ github.ref_name }}-darwin-unsigned.zip
47+ test -f .out/darwin/entitlements.plist
4748
4849 - name : Add cert to keychain
4950 uses : apple-actions/import-codesign-certs@v3
5354
5455 - name : Sign binaries
5556 run : |
56- codesign --force --timestamp --sign "Developer ID Application: Magnus Opera (${{ secrets.MAC_DEV_TEAM_ID }})" .out/darwin/arm64/fscript --options=runtime --no-strict --entitlements entitlements.plist --identifier "${{ secrets.MAC_CERT_BUNDLE_ID }}.arm64"
57- codesign --force --timestamp --sign "Developer ID Application: Magnus Opera (${{ secrets.MAC_DEV_TEAM_ID }})" .out/darwin/x64/fscript --options=runtime --no-strict --entitlements entitlements.plist --identifier "${{ secrets.MAC_CERT_BUNDLE_ID }}.x64"
57+ codesign --force --timestamp --sign "Developer ID Application: Magnus Opera (${{ secrets.MAC_DEV_TEAM_ID }})" .out/darwin/arm64/fscript --options=runtime --no-strict --entitlements .out/darwin/ entitlements.plist --identifier "${{ secrets.MAC_CERT_BUNDLE_ID }}.arm64"
58+ codesign --force --timestamp --sign "Developer ID Application: Magnus Opera (${{ secrets.MAC_DEV_TEAM_ID }})" .out/darwin/x64/fscript --options=runtime --no-strict --entitlements .out/darwin/ entitlements.plist --identifier "${{ secrets.MAC_CERT_BUNDLE_ID }}.x64"
5859 (cd .out/darwin/arm64; zip ../fscript-${{ github.ref_name }}-darwin-arm64.zip ./*)
5960 (cd .out/darwin/x64; zip ../fscript-${{ github.ref_name }}-darwin-x64.zip ./*)
6061
You can’t perform that action at this time.
0 commit comments