From 48219fc08d55e319281089bebccbe55e94f32287 Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Sun, 29 Sep 2024 12:41:59 +0200 Subject: [PATCH] Fix Windows CI artifact upload As of actions/upload-artifact@v4, hidden files are excluded from uploading by default, so the `.install` folder is no longer uploaded. Instead of changing the default, we change the name of the folder to `win-install` which generally appears to make more sense than a hidden folder. --- .github/workflows/config.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/config.yml b/.github/workflows/config.yml index 14e7c25..30fe609 100644 --- a/.github/workflows/config.yml +++ b/.github/workflows/config.yml @@ -69,17 +69,17 @@ jobs: run: nmake test TESTS="--show-diff tests" - name: package run: | - md .install - copy LICENSE .install + md win-install + copy LICENSE win-install if exist x64 ( if exist x64\Release (set prefix=x64\Release) else set prefix=x64\Release_TS ) else ( if exist Release (set prefix=Release) else set prefix=Release_TS ) - copy %prefix%\php_apcu.dll .install - copy %prefix%\php_apcu.pdb .install + copy %prefix%\php_apcu.dll win-install + copy %prefix%\php_apcu.pdb win-install - name: Upload artifacts uses: actions/upload-artifact@v4 with: name: apcu-${{matrix.version}}-${{matrix.arch}}-${{matrix.ts}} - path: .install + path: win-install