Browse Source

Fix artifact zipping

pull/438/head
ionite34 11 months ago
parent
commit
8799f8464d
No known key found for this signature in database
GPG Key ID: B3404C5F3827849B
  1. 12
      .github/workflows/release.yml

12
.github/workflows/release.yml

@ -246,11 +246,14 @@ jobs:
MACOS_NOTARIZATION_PWD: ${{ secrets.PROD_MACOS_NOTARIZATION_PWD }}
run: ./Build/notarize_macos.sh "./signing/${{ env.app-name }}"
- name: Zip Artifact (App)
run: cd signing && zip -r -y "../StabilityMatrix-${{ env.platform-id }}-app.zip" "${{ env.app-name }}"
- name: Upload Artifact (App)
uses: actions/upload-artifact@v2
with:
name: StabilityMatrix-${{ env.platform-id }}-app
path: ./signing/${{ env.app-name }}
path: StabilityMatrix-${{ env.platform-id }}-app.zip
- uses: actions/setup-node@v4
with:
@ -267,12 +270,15 @@ jobs:
create-dmg "${{ env.app-name }}" --overwrite --identity "${{ secrets.PROD_MACOS_CERTIFICATE_NAME }}"
# Rename to remove version number
for f in *.dmg; do mv "$f" "${{ env.out-name }}"; done
- name: Zip Artifact (dmg)
run: cd signing && zip -r -y "../StabilityMatrix-${{ env.platform-id }}-dmg.zip" "${{ env.out-name }}"
- name: Upload Artifact (dmg)
uses: actions/upload-artifact@v2
with:
name: StabilityMatrix-${{ env.platform-id }}-dmg
path: ./signing/${{ env.out-name }}
path: StabilityMatrix-${{ env.platform-id }}-dmg.zip
publish-release:
name: Publish GitHub Release

Loading…
Cancel
Save