This commit is contained in:
Bane Stojkovic
2026-10-16 20:28:15 +02:00
parent f16422395e
commit 846822e156
2 changed files with 50 additions and 1 deletions
+11 -1
View File
@@ -17,7 +17,8 @@ on:
- release-signing
permissions:
actions: read
# write is needed only to delete the unsigned installer once SignPath has fetched it
actions: write
contents: read
env:
@@ -101,6 +102,15 @@ jobs:
wait-for-completion: true
output-artifact-directory: signed
# SignPath can only fetch the installer from a GitHub artifact, so the unsigned upload cannot
# be skipped; it is deleted as soon as signing is over, whether or not signing succeeded.
- name: Delete unsigned installer artifact
if: always() && steps.upload-unsigned-installer.outputs.artifact-id != ''
env:
GH_TOKEN: ${{ github.token }}
ARTIFACT_ID: ${{ steps.upload-unsigned-installer.outputs.artifact-id }}
run: gh api -X DELETE "repos/${GITHUB_REPOSITORY}/actions/artifacts/${ARTIFACT_ID}"
- name: Verify signed installer
run: |
python3 diylc/diylc-swing/deploy/win/signpath/is-signed.py signed/diylc-setup.exe