Skip to content

Commit

Permalink
action: update actions version to use Node.js 16
Browse files Browse the repository at this point in the history
Signed-off-by: Yadong Ding <[email protected]>
  • Loading branch information
Desiki-high authored and imeoer committed May 8, 2023
1 parent 5a179be commit 2f743c8
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
matrix:
arch: [amd64, arm64, ppc64le, riscv64]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Cache cargo
uses: Swatinem/[email protected]
with:
Expand All @@ -38,7 +38,7 @@ jobs:
sudo cp -r misc/configs .
sudo chown -R $(id -un):$(id -gn) . ~/.cargo/
- name: store-artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: nydus-artifacts-linux-${{ matrix.arch }}
path: |
Expand All @@ -53,7 +53,7 @@ jobs:
matrix:
arch: [amd64, arm64]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Cache cargo
uses: Swatinem/[email protected]
with:
Expand All @@ -66,7 +66,7 @@ jobs:
sudo cp -r misc/configs .
sudo chown -R $(id -un):$(id -gn) . ~/.cargo/
- name: store-artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: nydus-artifacts-darwin-${{ matrix.arch }}
path: |
Expand All @@ -83,12 +83,12 @@ jobs:
env:
DOCKER: false
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '1.18'
- name: cache go mod
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: /go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/contrib/nydusify/go.sum', '**/contrib/ctr-remote/go.sum', '**/contrib/nydus-overlayfs/go.sum') }}
Expand All @@ -101,7 +101,7 @@ jobs:
sudo mv contrib/nydusify/cmd/nydusify .
sudo mv contrib/nydus-overlayfs/bin/nydus-overlayfs .
- name: store-artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: nydus-artifacts-linux-${{ matrix.arch }}
path: |
Expand All @@ -119,7 +119,7 @@ jobs:
needs: [nydus-linux, contrib-linux]
steps:
- name: download artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: nydus-artifacts-${{ matrix.os }}-${{ matrix.arch }}
path: nydus-static
Expand All @@ -135,7 +135,7 @@ jobs:
sha256sum $tarball > $shasum
echo "tarball_shasum=${shasum}" >> $GITHUB_ENV
- name: store-artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: nydus-release-tarball
path: |
Expand All @@ -152,7 +152,7 @@ jobs:
needs: [nydus-macos]
steps:
- name: download artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: nydus-artifacts-${{ matrix.os }}-${{ matrix.arch }}
path: nydus-static
Expand All @@ -168,7 +168,7 @@ jobs:
sha256sum $tarball > $shasum
echo "tarball_shasum=${shasum}" >> $GITHUB_ENV
- name: store-artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: nydus-release-tarball
path: |
Expand All @@ -180,7 +180,7 @@ jobs:
needs: [prepare-tarball-linux, prepare-tarball-darwin]
steps:
- name: download artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: nydus-release-tarball
path: nydus-tarball
Expand Down

0 comments on commit 2f743c8

Please sign in to comment.