CI: try to fix 404 error on downlad page

This commit is contained in:
Laurent Trinques
2026-09-22 09:50:14 +02:00
parent c5edd0a54b
commit 3b626a7d1a
+7 -1
View File
@@ -336,7 +336,13 @@ jobs:
if-no-files-found: error
- name: Delete old nightly .msi asset
if: always()
# Only run if a new MSI actually exists in dist/ — otherwise the old
# (still working) nightly .msi would be deleted without anything to
# replace it, leaving the nightly release with no MSI at all until
# the next successful build (see windows-msi-pipeline notes,
# run 35694391567: an upstream artifact-download failure meant
# dist\*.msi never existed for that run).
if: always() && hashFiles('dist/*.msi') != ''
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPO: ${{ github.repository }}