mirror of
https://github.com/daeuniverse/dae.git
synced 2024-12-23 01:04:40 +07:00
ci: update ci modules using nodejs to latest (#465)
Co-authored-by: Markson Hon <markson@nixos.local> Co-authored-by: Markson Hon <markson@localhost.lan>
This commit is contained in:
parent
6f1db5ee1f
commit
88d3629c5f
11
.github/workflows/kernel-test.yml
vendored
11
.github/workflows/kernel-test.yml
vendored
@ -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
|
||||
@ -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
|
||||
@ -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
|
||||
|
6
.github/workflows/prerelease.yml
vendored
6
.github/workflows/prerelease.yml
vendored
@ -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*
|
||||
@ -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/
|
||||
|
||||
|
9
.github/workflows/release.yml
vendored
9
.github/workflows/release.yml
vendored
@ -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
|
||||
@ -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*
|
||||
@ -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/
|
||||
|
||||
|
7
.github/workflows/seed-build.yml
vendored
7
.github/workflows/seed-build.yml
vendored
@ -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
|
||||
@ -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/*
|
||||
|
4
.github/workflows/sync-docs.yml
vendored
4
.github/workflows/sync-docs.yml
vendored
@ -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: |
|
||||
@ -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/
|
||||
|
Loading…
Reference in New Issue
Block a user