mirror of
https://github.com/daeuniverse/dae.git
synced 2025-07-13 09:18:55 +07:00
ci: update actions/checkout@v3 to actions/checkout@v4 (#461)
Co-authored-by: Markson Hon <markson@2333ma.seed>
This commit is contained in:
2
.github/workflows/check-docs.yml
vendored
2
.github/workflows/check-docs.yml
vendored
@ -20,7 +20,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
- name: Use Node.js
|
- name: Use Node.js
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
|
2
.github/workflows/docker.yml
vendored
2
.github/workflows/docker.yml
vendored
@ -20,7 +20,7 @@ jobs:
|
|||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout codebase
|
- name: Checkout codebase
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: Prepare
|
- name: Prepare
|
||||||
|
2
.github/workflows/generate-changelogs.yml
vendored
2
.github/workflows/generate-changelogs.yml
vendored
@ -21,7 +21,7 @@ jobs:
|
|||||||
permissions:
|
permissions:
|
||||||
issues: write
|
issues: write
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Generate release changelogs
|
- name: Generate release changelogs
|
||||||
uses: daeuniverse/changelogs-generator-action@main
|
uses: daeuniverse/changelogs-generator-action@main
|
||||||
|
2
.github/workflows/prerelease.yml
vendored
2
.github/workflows/prerelease.yml
vendored
@ -49,7 +49,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout codebase
|
- name: Checkout codebase
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -49,7 +49,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout codebase
|
- name: Checkout codebase
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
|
16
.github/workflows/seed-build.yml
vendored
16
.github/workflows/seed-build.yml
vendored
@ -66,7 +66,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout codebase
|
- name: Checkout codebase
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ inputs.ref }}
|
ref: ${{ inputs.ref }}
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
@ -131,22 +131,10 @@ jobs:
|
|||||||
if: matrix.goarch == 'amd64' && matrix.goamd64 == 'v1'
|
if: matrix.goarch == 'amd64' && matrix.goamd64 == 'v1'
|
||||||
run: ./build/dae-$ASSET_NAME --version
|
run: ./build/dae-$ASSET_NAME --version
|
||||||
|
|
||||||
- name: Create binary ZIP archive and Signature
|
|
||||||
run: |
|
|
||||||
pushd build || exit 1
|
|
||||||
zip -9vr ../dae-$ASSET_NAME.zip .
|
|
||||||
popd || exit 1
|
|
||||||
FILE=./dae-$ASSET_NAME.zip
|
|
||||||
DGST=$FILE.dgst
|
|
||||||
md5sum $FILE >>$DGST
|
|
||||||
shasum -a 1 $FILE >>$DGST
|
|
||||||
shasum -a 256 $FILE >>$DGST
|
|
||||||
shasum -a 512 $FILE >>$DGST
|
|
||||||
|
|
||||||
- name: Upload files to Artifacts
|
- name: Upload files to Artifacts
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: dae-${{ steps.get_filename.outputs.ASSET_NAME }}.zip
|
name: dae-${{ steps.get_filename.outputs.ASSET_NAME }}
|
||||||
path: build/*
|
path: build/*
|
||||||
|
|
||||||
- name: Report result
|
- name: Report result
|
||||||
|
4
.github/workflows/sync-docs.yml
vendored
4
.github/workflows/sync-docs.yml
vendored
@ -33,7 +33,7 @@ jobs:
|
|||||||
git_commit_msg: ${{ steps.export.outputs.git_commit_msg }}
|
git_commit_msg: ${{ steps.export.outputs.git_commit_msg }}
|
||||||
git_run_number: ${{ steps.export.outputs.git_run_number }}
|
git_run_number: ${{ steps.export.outputs.git_run_number }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Get metadata from HEAD sha
|
- name: Get metadata from HEAD sha
|
||||||
id: export
|
id: export
|
||||||
run: |
|
run: |
|
||||||
@ -59,7 +59,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout to daeuniverse/dae-docs
|
- name: Checkout to daeuniverse/dae-docs
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
repository: daeuniverse/dae-docs
|
repository: daeuniverse/dae-docs
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
Reference in New Issue
Block a user