Skip to content

Commit

Permalink
Update upload-artifact action to v4 (#693)
Browse files Browse the repository at this point in the history
- to match recently updated download-artifact (v3 is incompatible with v4);
- actions/upload-artifact@v3 is scheduled for deprecation on November 30, 2024;
  • Loading branch information
Youw committed Sep 15, 2024
1 parent f2e8d41 commit ba28d38
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ jobs:
Copy-Item "windows\x64\Release\hidapi.dll","windows\x64\Release\hidapi.lib","windows\x64\Release\hidapi.pdb" -Destination "artifacts\x64"
Copy-Item "hidapi\hidapi.h","windows\hidapi_winapi.h" -Destination "artifacts\include"
- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: hidapi-win
path: artifacts/
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
cov-build --dir cov-int nmake
Rename-Item ".\cov-int\emit\$(hostname)" hostname
- name: Backup Coverity logs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: coverity-logs-windows
path: build/cov-int
Expand Down Expand Up @@ -123,7 +123,7 @@ jobs:
cov-build --dir cov-int --append-log ninja
mv cov-int/emit/$(hostname) cov-int/emit/hostname
- name: Backup Coverity logs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: coverity-logs-windows-macos
path: build/cov-int
Expand Down Expand Up @@ -191,7 +191,7 @@ jobs:
https://scan.coverity.com/builds?project=hidapi
mv cov-int/emit/$(hostname) cov-int/emit/hostname
- name: Backup Coverity logs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: coverity-logs-windows-macos-linux
path: build/cov-int
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
working-directory: doxygen

- name: Save doxygen docs as artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: HIDAPI_doxygen_docs
path: ${{ github.workspace }}/doxygen/html
Expand Down

0 comments on commit ba28d38

Please sign in to comment.