gh release

This commit is contained in:
vapormusic 2022-02-13 20:49:26 +07:00
parent 6c4ad4f3bc
commit f49e8af370

View file

@ -29,7 +29,7 @@ jobs:
runs-on: macos-11 runs-on: macos-11
permissions: permissions:
actions: read actions: read
contents: read contents: write
security-events: write security-events: write
strategy: strategy:
@ -118,6 +118,7 @@ jobs:
xcrun altool --notarize-app --primary-bundle-id com.ciderapp.cider -f dist/Cider.pkg --username ${{ secrets.APPLEID }} --password ${{ secrets.APPLEIDPASS }} xcrun altool --notarize-app --primary-bundle-id com.ciderapp.cider -f dist/Cider.pkg --username ${{ secrets.APPLEID }} --password ${{ secrets.APPLEIDPASS }}
sleep 5m sleep 5m
xcrun stapler staple dist/Cider.pkg || true xcrun stapler staple dist/Cider.pkg || true
mv dist/*.dmg dist/Cider.dmg
- name: Upload a Build Artifact - name: Upload a Build Artifact
uses: actions/upload-artifact@v2.2.3 uses: actions/upload-artifact@v2.2.3
@ -129,3 +130,16 @@ jobs:
dist/*.dmg dist/*.dmg
dist/*.pkg dist/*.pkg
# The desired behavior if no files are found using the provided path. # The desired behavior if no files are found using the provided path.
- name: Release
uses: softprops/action-gh-release@v1
with:
files: |
dist/Cider.dmg
dist/Cider.pkg
body: signed Develop MacOS Builds
name: macOS builds
tag_name: macos-beta
prerelease : true
generate_release_notes: true
append_body : false
fail_on_unmatched_files: false