Skip to content

Commit ba28d38

Browse files
authored
Update upload-artifact action to v4 (#693)
- to match recently updated download-artifact (v3 is incompatible with v4); - actions/upload-artifact@v3 is scheduled for deprecation on November 30, 2024;
1 parent f2e8d41 commit ba28d38

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/builds.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ jobs:
351351
Copy-Item "windows\x64\Release\hidapi.dll","windows\x64\Release\hidapi.lib","windows\x64\Release\hidapi.pdb" -Destination "artifacts\x64"
352352
Copy-Item "hidapi\hidapi.h","windows\hidapi_winapi.h" -Destination "artifacts\include"
353353
- name: Upload artifacts
354-
uses: actions/upload-artifact@v3
354+
uses: actions/upload-artifact@v4
355355
with:
356356
name: hidapi-win
357357
path: artifacts/

.github/workflows/checks.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
cov-build --dir cov-int nmake
6464
Rename-Item ".\cov-int\emit\$(hostname)" hostname
6565
- name: Backup Coverity logs
66-
uses: actions/upload-artifact@v3
66+
uses: actions/upload-artifact@v4
6767
with:
6868
name: coverity-logs-windows
6969
path: build/cov-int
@@ -123,7 +123,7 @@ jobs:
123123
cov-build --dir cov-int --append-log ninja
124124
mv cov-int/emit/$(hostname) cov-int/emit/hostname
125125
- name: Backup Coverity logs
126-
uses: actions/upload-artifact@v3
126+
uses: actions/upload-artifact@v4
127127
with:
128128
name: coverity-logs-windows-macos
129129
path: build/cov-int
@@ -191,7 +191,7 @@ jobs:
191191
https://scan.coverity.com/builds?project=hidapi
192192
mv cov-int/emit/$(hostname) cov-int/emit/hostname
193193
- name: Backup Coverity logs
194-
uses: actions/upload-artifact@v3
194+
uses: actions/upload-artifact@v4
195195
with:
196196
name: coverity-logs-windows-macos-linux
197197
path: build/cov-int

.github/workflows/docs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
working-directory: doxygen
3232

3333
- name: Save doxygen docs as artifact
34-
uses: actions/upload-artifact@v3
34+
uses: actions/upload-artifact@v4
3535
with:
3636
name: HIDAPI_doxygen_docs
3737
path: ${{ github.workspace }}/doxygen/html

0 commit comments

Comments
 (0)