mirror of
https://github.com/daeuniverse/dae.git
synced 2025-03-09 04:09:44 +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:
parent
a1f62c223e
commit
bb3a07cd15
2
.github/workflows/check-docs.yml
vendored
2
.github/workflows/check-docs.yml
vendored
@ -20,7 +20,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
- name: Use Node.js
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
|
2
.github/workflows/docker.yml
vendored
2
.github/workflows/docker.yml
vendored
@ -20,7 +20,7 @@ jobs:
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Checkout codebase
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Prepare
|
||||
|
2
.github/workflows/generate-changelogs.yml
vendored
2
.github/workflows/generate-changelogs.yml
vendored
@ -21,7 +21,7 @@ jobs:
|
||||
permissions:
|
||||
issues: write
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Generate release changelogs
|
||||
uses: daeuniverse/changelogs-generator-action@main
|
||||
|
2
.github/workflows/prerelease.yml
vendored
2
.github/workflows/prerelease.yml
vendored
@ -49,7 +49,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Checkout codebase
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -49,7 +49,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Checkout codebase
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
|
16
.github/workflows/seed-build.yml
vendored
16
.github/workflows/seed-build.yml
vendored
@ -66,7 +66,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Checkout codebase
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: ${{ inputs.ref }}
|
||||
fetch-depth: 0
|
||||
@ -131,22 +131,10 @@ jobs:
|
||||
if: matrix.goarch == 'amd64' && matrix.goamd64 == 'v1'
|
||||
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
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: dae-${{ steps.get_filename.outputs.ASSET_NAME }}.zip
|
||||
name: dae-${{ steps.get_filename.outputs.ASSET_NAME }}
|
||||
path: build/*
|
||||
|
||||
- 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_run_number: ${{ steps.export.outputs.git_run_number }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- name: Get metadata from HEAD sha
|
||||
id: export
|
||||
run: |
|
||||
@ -59,7 +59,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout to daeuniverse/dae-docs
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: daeuniverse/dae-docs
|
||||
fetch-depth: 0
|
||||
|
Loading…
Reference in New Issue
Block a user