Skip to content

Commit

Permalink
ci: upgrade github artifact actions to v4 (#615)
Browse files Browse the repository at this point in the history
Update the GitHub Action upload-artifact from version 3 to version 4.
The upgrade provides enhanced artifact handling, and compatibility with
the latest GitHub Actions runtime features.

Co-authored-by: Or Rubin <or.rubin@hotmail.com>
  • Loading branch information
bramkor and orubin authored Nov 26, 2024
1 parent 15e28a8 commit 37dd4df
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
tag: ${{ github.ref }}
file_glob: true

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: build
path: |
Expand All @@ -76,13 +76,11 @@ jobs:
- os: macos-12
target: macos
node: 20
# Using the `centos7-devtoolset7` runner instead of latest (i.e. `ubuntu-20.04`)
# with gcc 7 but glibc 2.17, so binaries are compatible for Ubuntu 14.04 and Debian 8.
- os: ubuntu-20.04
target: linux
node: 16
node: 20
container:
image: centos/devtoolset-7-toolchain-centos7:7
image: redhat/ubi8
options: "--user root"
runs-on: ${{ matrix.os }}
container: ${{ matrix.container }}
Expand All @@ -92,7 +90,7 @@ jobs:
ref: ${{ env.TARGET_REF }}
token: ${{ secrets.GPR_TOKEN }}

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: build

Expand Down Expand Up @@ -145,7 +143,7 @@ jobs:
ref: ${{ env.TARGET_REF }}
token: ${{ secrets.GPR_TOKEN }}

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: build

Expand Down

0 comments on commit 37dd4df

Please sign in to comment.