Skip to content

Commit

Permalink
CI: Update to use actions/{up,down}load-artifact v4
Browse files Browse the repository at this point in the history
Update to v4 of the upload-artifact and download-artifact GitHub
actions. The newer versions are faster, and v3 is going to be deprecated
next November:

  https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
  • Loading branch information
aperezdc committed Sep 15, 2024
1 parent d32ddb9 commit 0a4a335
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
> _work/meson/symbols
(cd _work/meson/prefix && find lib -type f | sort) > _work/meson/files
- name: Meson - Archive Artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: build-meson
path: _work/meson/prefix
Expand All @@ -71,7 +71,7 @@ jobs:
> _work/cmake/symbols
(cd _work/cmake/prefix && find lib -type f | sort) > _work/cmake/files
- name: CMake - Archive Artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: build-cmake
path: _work/cmake/prefix
Expand All @@ -81,7 +81,7 @@ jobs:
diff -u _work/{cmake,meson}/symbols
diff -Naur _work/{cmake,meson}/prefix/usr/include/
- name: Archive Documentation
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: docs
path: _work/cmake/build/Documentation/html
Expand All @@ -91,7 +91,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Fetch Documentation
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: docs
path: html
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codestyle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
run: |
scripts/check-style -ocode-style.diff origin/master
- name: Archive Diff
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: diff
Expand Down

0 comments on commit 0a4a335

Please sign in to comment.