-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
4c398e1
commit 342bcb5
Showing
4 changed files
with
20 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ on: | |
|
||
env: | ||
FLUTTER_VERSION: '3.24.x' | ||
MACOS_APP_RELEASE_PATH: build/macos/Build/Products/Release | ||
|
||
jobs: | ||
build_and_upload_macos_dmg: | ||
|
@@ -52,6 +53,8 @@ jobs: | |
security import certificate.p12 -k build.keychain -P $MACOS_CERTIFICATE_PWD -T /usr/bin/codesign | ||
echo "Set Key Partition" | ||
security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k $MACOS_CERTIFICATE_PWD build.keychain | ||
echo "Find Identity" | ||
security find-identity | ||
echo "Sign the app" | ||
/usr/bin/codesign --force --deep -s $MACOS_IDENTITY ./$MACOS_APP_RELEASE_PATH/musicpod.app | ||
- name: Create a dmg | ||
|
@@ -77,7 +80,7 @@ jobs: | |
if: steps.createdmg.outcome == 'success' | ||
uses: AButler/[email protected] | ||
with: | ||
files: "$MACOS_APP_RELEASE_PATH/musicpod.app" | ||
files: ${{ env.MACOS_APP_RELEASE_PATH }}/musicpod.app | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
release-tag: ${{ github.ref_name }} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters