Delete temporary artefacts during official build

They are needed only for signing.
This commit is contained in:
ge0rdi
2026-07-19 12:10:03 +02:00
parent 97bae48048
commit fe6b144058
+5 -2
View File
@@ -158,11 +158,14 @@ jobs:
# `overwrite: true` doesn't work with `archive: false`, so we have to delete the original first # `overwrite: true` doesn't work with `archive: false`, so we have to delete the original first
# https://github.com/actions/upload-artifact/issues/769 # https://github.com/actions/upload-artifact/issues/769
# https://github.com/actions/upload-artifact/issues/785 # https://github.com/actions/upload-artifact/issues/785
- name: Delete setup - name: Delete temporary artifacts
if: github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/master' # Only manual master builds if: github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/master' # Only manual master builds
uses: geekyeggo/delete-artifact@v6 uses: geekyeggo/delete-artifact@v6
with: with:
name: OpenShellSetup*.exe name: |
OpenShellSetup*.exe
Binaries
MSI
- name: Upload setup (signed) - name: Upload setup (signed)
if: github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/master' # Only manual master builds if: github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/master' # Only manual master builds