Skip to content

Commit

Permalink
github: use stable actions/download-artifact@v4 (#624)
Browse files Browse the repository at this point in the history
actions/download-artifact@master branch is already deprecated and
switched to main branch.
(master branch is 121 commits behind main)

There is no need to always dare to follow main branch, so use stable v4
release.

Signed-off-by: Kentaro Hayashi <[email protected]>
  • Loading branch information
kenhys authored Feb 26, 2024
1 parent 8a17a8c commit 1333a78
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/apt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,10 @@ jobs:
test-lxc-image: ubuntu:22.04
steps:
- uses: actions/checkout@master
- uses: actions/download-artifact@master
- uses: actions/download-artifact@v4
with:
name: packages-${{ matrix.rake-job }}
- uses: actions/download-artifact@master
- uses: actions/download-artifact@v4
with:
name: packages-apt-source-${{ matrix.rake-job }}
- uses: canonical/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
runs-on: macos-latest
steps:
- uses: actions/checkout@master
- uses: actions/download-artifact@master
- uses: actions/download-artifact@v4
with:
name: packages-macos
- name: Run test
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/yum.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
run: |
rake yum:build YUM_TARGETS=${{ matrix.rake-job }}
- name: Upload fluent-package rpm
uses: actions/upload-artifact@master
uses: actions/upload-artifact@v4
with:
name: packages-${{ matrix.rake-job }}
path: fluent-package/yum/repositories
Expand Down Expand Up @@ -112,7 +112,7 @@ jobs:
test-lxc-image: images:amazonlinux/2023
steps:
- uses: actions/checkout@master
- uses: actions/download-artifact@master
- uses: actions/download-artifact@v4
with:
name: packages-${{ matrix.rake-job }}
- uses: canonical/[email protected]
Expand All @@ -138,7 +138,7 @@ jobs:
test-lxc-image: images:almalinux/9
steps:
- uses: actions/checkout@master
- uses: actions/download-artifact@master
- uses: actions/download-artifact@v4
with:
name: packages-${{ matrix.rake-job }}
- uses: canonical/[email protected]
Expand Down

0 comments on commit 1333a78

Please sign in to comment.