This commit is contained in:
Core 2022-10-03 14:29:14 +01:00
parent 61c1ac7d96
commit dbb99369a6
No known key found for this signature in database
GPG key ID: 2AB8327FBA02D1C0

View file

@ -90,7 +90,7 @@ jobs:
repo_name: ciderapp/cider-releases
repo_token: ${{ secrets.RELEASE_TOKEN }}
file: dist/latest-mac.yml
tag: v${{ env.APP_VERSION }}
tag: v${{ env.RELEASE_VERSION }}
- name: Import
uses: apple-actions/import-codesign-certs@v1
@ -108,7 +108,7 @@ jobs:
pkgbuild --component dist/mac-universal/Cider.app --install-location /Applications dist/Cider-${{ env.APP_VERSION }}-universal.pkg --sign ${{ secrets.PSC_NAME }}
xcrun altool --notarize-app --primary-bundle-id com.ciderapp.cider -f dist/Cider*.pkg --username ${{ secrets.APPLEID }} --password ${{ secrets.APPLEIDPASS }}
sleep 5m
xcrun stapler staple dist/Cider*.pkg || true
xcrun stapler staple dist/*.pkg || true
- name: Upload a Build Artifact
uses: actions/upload-artifact@v2.2.3
@ -124,16 +124,16 @@ jobs:
with:
repo_name: ciderapp/cider-releases
repo_token: ${{ secrets.RELEASE_TOKEN }}
file: dist/Cider*.dmg
tag: v${{ env.APP_VERSION }}
file: dist/*.dmg
tag: v${{ env.RELEASE_VERSION }}
- name: Upload Files (PKG)
uses: svenstaro/upload-release-action@v2
with:
repo_name: ciderapp/cider-releases
repo_token: ${{ secrets.RELEASE_TOKEN }}
file: dist/Cider*.pkg
tag: v${{ env.APP_VERSION }}
file: dist/*.pkg
tag: v${{ env.RELEASE_VERSION }}
- name: Trigger Bot Sync (main)
uses: indiesdev/curl@v1.1
with: