test
This commit is contained in:
parent
7573062823
commit
46fadfb087
1 changed files with 14 additions and 1 deletions
15
.github/workflows/build-macos.yml
vendored
15
.github/workflows/build-macos.yml
vendored
|
@ -101,11 +101,24 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
npx dmg-license resources/license.json dist/*.dmg
|
npx dmg-license resources/license.json dist/*.dmg
|
||||||
|
|
||||||
|
- name: Create PKG manually
|
||||||
|
uses: apple-actions/import-codesign-certs@v1
|
||||||
|
with:
|
||||||
|
p12-file-base64: ${{ secrets.CSC_LINK }}
|
||||||
|
p12-password: ${{ secrets.CSC_KEY_PASSWORD }}
|
||||||
|
run: |
|
||||||
|
pkgbuild --component dist/mac-universal/Cider.app --install-location /Applications dist/Cider.pkg --sign ${{ secrets.PSC_NAME }}
|
||||||
|
xcrun altool --notarize-app --primary-bundle-id com.ciderapp.cider -f dist/Cider.pkg -p --username ${{ secrets.APPLEID }} --password ${{ secrets.APPLEIDPASS }}
|
||||||
|
sleep 5m
|
||||||
|
xcrun stapler staple dist/Cider.pkg || true
|
||||||
|
|
||||||
- name: Upload a Build Artifact
|
- name: Upload a Build Artifact
|
||||||
uses: actions/upload-artifact@v2.2.3
|
uses: actions/upload-artifact@v2.2.3
|
||||||
with:
|
with:
|
||||||
# Artifact name
|
# Artifact name
|
||||||
name: macOS
|
name: macOS
|
||||||
# A file, directory or wildcard pattern that describes what to upload
|
# A file, directory or wildcard pattern that describes what to upload
|
||||||
path: dist/*.dmg
|
path: |
|
||||||
|
dist/*.dmg
|
||||||
|
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.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue