Skip to content

Commit

Permalink
ci: update actions/checkout@v3 to actions/checkout@v4 (#461)
Browse files Browse the repository at this point in the history
Co-authored-by: Markson Hon <[email protected]>
  • Loading branch information
MarksonHon and Markson Hon authored Feb 22, 2024
1 parent a1f62c2 commit bb3a07c
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/generate-changelogs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:

steps:
- name: Checkout codebase
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:

steps:
- name: Checkout codebase
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down
16 changes: 2 additions & 14 deletions .github/workflows/seed-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:

steps:
- name: Checkout codebase
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ inputs.ref }}
fetch-depth: 0
Expand Down Expand Up @@ -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
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 @@ -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: |
Expand All @@ -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
Expand Down

0 comments on commit bb3a07c

Please sign in to comment.