Skip to content

Commit

Permalink
Fix Windows CI artifact upload
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
cmb69 authored and nikic committed Sep 29, 2024
1 parent 808ab43 commit 5d9a52e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,17 +70,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

0 comments on commit 5d9a52e

Please sign in to comment.