From 76ff69e91224cbfd93f41c42c8e0f582c4500811 Mon Sep 17 00:00:00 2001 From: Laurent Trinques Date: Sun, 9 Aug 2026 11:19:48 +0200 Subject: [PATCH] ci(windows-build): switch cron to monthly, bump artifact retention Weekly cron replaced with a monthly run (1st of each month, 02:00 UTC) to reduce unnecessary CI load. retention-days raised from 14 to 40 across all six artifact uploads (Qt5 + Qt6 tracks) to cover the new monthly interval with a safety margin -- 14 days was shorter than the gap between two cron runs, so the latest build's artifacts could expire before the next one replaced them. --- .github/workflows/windows-build.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/windows-build.yml b/.github/workflows/windows-build.yml index 97fbc6034..dd5cdfb45 100644 --- a/.github/workflows/windows-build.yml +++ b/.github/workflows/windows-build.yml @@ -2,7 +2,7 @@ name: Windows Build on: schedule: - - cron: '0 2 * * 1' # Every Monday at 2:00 UTC + - cron: '0 2 1 * *' # workflow_dispatch: # Manual trigger available at any time concurrency: @@ -343,21 +343,21 @@ jobs: with: name: qelectrotech-${{ steps.qet_version.outputs.base_version }}+git${{ steps.qet_version.outputs.head }}-x86-win64-readytouse path: dist/${{ steps.zip_portable.outputs.zip_name }} - retention-days: 14 + retention-days: 40 - name: Upload NSIS installer uses: actions/upload-artifact@v7 with: name: qelectrotech-windows-installer path: dist/Installer_*.exe - retention-days: 14 + retention-days: 40 - name: Upload portable (nom fixe pour le workflow MSI) uses: actions/upload-artifact@v7 with: name: qelectrotech-windows-portable path: nsis_root/files/ - retention-days: 14 + retention-days: 40 # ============================================================================= # Job 2: Qt6 build (EXPERIMENTAL track) @@ -687,21 +687,21 @@ jobs: with: name: qelectrotech-${{ steps.qet_version.outputs.base_version }}+git${{ steps.qet_version.outputs.head }}-x86-win64-readytouse path: dist/${{ steps.zip_portable.outputs.zip_name }} - retention-days: 14 + retention-days: 40 - name: Upload NSIS installer uses: actions/upload-artifact@v7 with: name: qelectrotech-windows-installer-qt6 path: dist/Installer_*.exe - retention-days: 14 + retention-days: 40 - name: Upload portable (nom fixe pour le workflow MSI) uses: actions/upload-artifact@v7 with: name: qelectrotech-windows-portable-qt6 path: nsis_root/files/ - retention-days: 14 + retention-days: 40 # --------------------------------------------------------------------------- # Job 3 : Publie les assets nightly (exe + zip, Qt5 et Qt6) sur la release