-
Notifications
You must be signed in to change notification settings - Fork 52
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 99f9cee
Showing
4 changed files
with
22 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 | ||
|
@@ -73,11 +76,13 @@ jobs: | |
--hdiutil-quiet \ | ||
"musicpod.dmg" \ | ||
"musicpod.app" | ||
ls -l | ||
pwd | ||
- name: Append Asset | ||
if: steps.createdmg.outcome == 'success' | ||
uses: AButler/[email protected] | ||
with: | ||
files: "$MACOS_APP_RELEASE_PATH/musicpod.app" | ||
files: ${{ env.MACOS_APP_RELEASE_PATH }}/musicpod.dmg | ||
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