Skip to content

Commit

Permalink
fix: mac sign fail in dev branch
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] authored and [email protected] committed Nov 3, 2023
1 parent 03ce67c commit 4ddfdf1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/tauri-build-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,15 +116,14 @@ jobs:
# Write the content back to the file
Set-Content -Path "./secrets.json" -Value $content
shell: powershell
- name: Check APPLE_TEAM_ID environment variable
- name: Sign embedded executables for Mac
if: matrix.platform == 'macos-latest'
env :
CERTIFICATE: ${{ secrets.APPLE_EXTERNAL_BINARY_SIGN_CERTIFICATE }}
run: |
if [ -z "${{ secrets.APPLE_TEAM_ID }}" ]; then
echo "APPLE_TEAM_ID is not set"
exit 1
else
echo "APPLE_TEAM_ID is set"
fi
cat ./src-build/mac/filesToSign | xargs codesign -s "$CERTIFICATE" --timestamp --options runtime
shell: bash

- uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
1 change: 1 addition & 0 deletions src-build/mac/filesToSign
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
src-tauri/src-node/node_modules/fsevents/fsevents.node

0 comments on commit 4ddfdf1

Please sign in to comment.