Skip to content

Commit

Permalink
chore: update code sign
Browse files Browse the repository at this point in the history
  • Loading branch information
appflowy committed Nov 19, 2023
1 parent 1572ec1 commit 4c0567a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,16 @@ jobs:
flutter config --enable-macos-desktop
dart ./scripts/flutter_release_build/build_flowy.dart run . ${{ needs.prepare.outputs.version }}
- name: Check for Code signing ID
run: |
if [ -z "${{ secrets.MACOS_CODESIGN_ID }}" ]; then
echo "MACOS_CODESIGN_ID is not set. Skipping code signing step."
else
echo "MACOS_CODESIGN_ID is set. Proceeding with code signing."
fi
- name: Codesign AppFlowy
if: secrets.MACOS_CODESIGN_ID != ''
run: |
echo ${{ secrets.MACOS_CERTIFICATE }} | base64 --decode > certificate.p12
security create-keychain -p action build.keychain
Expand Down

0 comments on commit 4c0567a

Please sign in to comment.