Skip to content

Commit

Permalink
ci: update ci modules using nodejs to latest (#465)
Browse files Browse the repository at this point in the history
Co-authored-by: Markson Hon <[email protected]>
Co-authored-by: Markson Hon <[email protected]>
  • Loading branch information
3 people authored Mar 2, 2024
1 parent 6f1db5e commit 88d3629
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 14 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/kernel-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,14 @@ jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe
uses: actions/setup-go@v5
with:
cache-dependency-path: |
go.mod
go.sum
go-version: 1.21.0

- name: Generate and build
Expand All @@ -28,7 +31,7 @@ jobs:
make GOFLAGS="-buildvcs=false" CC=clang
- name: Store executable
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32
uses: actions/upload-artifact@v4
with:
name: dae
path: dae
Expand All @@ -46,7 +49,7 @@ jobs:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11

- name: Retrieve stored executable
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.4
with:
name: dae
path: dae
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,13 +129,13 @@ jobs:
# - name: Upload full source to Artifacts
# if: matrix.goarch == 'arm64'
# uses: actions/upload-artifact@v3
# uses: actions/upload-artifact@v4
# with:
# name: dae-full-src.zip
# path: dae-full-src.zip

- name: Upload files to Artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: dae-${{ steps.get_filename.outputs.ASSET_NAME }}.zip
path: ./*.zip*
Expand All @@ -145,7 +145,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Download all artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.4
with:
path: release/

Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,11 @@ jobs:
echo "ASSET_NAME=$_NAME" >> $GITHUB_ENV
- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
cache-dependency-path: |
go.mod
go.sum
go-version: '^1.21'

- name: Install Dependencies
Expand Down Expand Up @@ -128,7 +131,7 @@ jobs:
echo "$(shasum -a 512 $FILE)"" sha512" >> $FILE.dgst
- name: Upload files to Artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: dae-${{ steps.get_filename.outputs.ASSET_NAME }}.zip
path: ./*.zip*
Expand All @@ -138,7 +141,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Download all artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.4
with:
path: release/

Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/seed-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,11 @@ jobs:
echo "ASSET_NAME=$_NAME" >> $GITHUB_ENV
- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
cache-dependency-path: |
go.mod
go.sum
go-version: '^1.21'

- name: Install Dependencies
Expand Down Expand Up @@ -132,7 +135,7 @@ jobs:
run: ./build/dae-$ASSET_NAME --version

- name: Upload files to Artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: dae-${{ steps.get_filename.outputs.ASSET_NAME }}
path: build/*
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sync-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
python3 hack/ci/config-doc-generator.py
- name: Export artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: pre_flight_artifacts
path: |
Expand All @@ -66,7 +66,7 @@ jobs:
ref: master

- name: Copy artifacts from build job to local path
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.4
with:
name: pre_flight_artifacts
path: docs/
Expand Down

0 comments on commit 88d3629

Please sign in to comment.