Skip to content

Commit

Permalink
chore: upgrade checkout action to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyoucao577 committed Jan 27, 2024
1 parent 91be521 commit 20a68b7
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/autobuild.yml
Expand Up @@ -14,7 +14,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set DOCKER_REPO_NAME env
run: echo DOCKER_REPO_NAME=$(basename ${GITHUB_REPOSITORY}) >> ${GITHUB_ENV}
- name: Set IMAGE_TAG env
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/autotest.yml
Expand Up @@ -55,7 +55,7 @@ jobs:
# with:
# time: '300s'
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set BUILD_TIME env
run: echo BUILD_TIME=$(date) >> ${GITHUB_ENV}
- name: Run go-release-action on test code
Expand Down Expand Up @@ -97,7 +97,7 @@ jobs:
# with:
# time: '300s'
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set GO_VERSION_TAG env
run: echo GO_VERSION_TAG=$(basename ${{ matrix.goversion }}) >> ${GITHUB_ENV}
- name: Run go-release-action on test code
Expand Down Expand Up @@ -127,7 +127,7 @@ jobs:
goversion: ["go.mod", "./go.mod", ""]
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set GO_VERSION_TAG env
run: echo GO_VERSION_TAG=$(basename ${{ matrix.goversion }}) >> ${GITHUB_ENV}
- name: Generate go.mod
Expand Down Expand Up @@ -157,7 +157,7 @@ jobs:
goarch: [amd64, arm64]
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Run go-release-action on test code
uses: ./
with:
Expand Down Expand Up @@ -185,7 +185,7 @@ jobs:
compress_assets: ['auto', 'true', 'zip', 'off', 'false']
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Run go-release-action on test code
uses: ./
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Expand Up @@ -13,7 +13,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Environment Printer
uses: managedkaos/print-env@v1.0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Expand Up @@ -15,7 +15,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set DOCKER_REPO_NAME env
run: echo DOCKER_REPO_NAME=$(basename ${GITHUB_REPOSITORY}) >> ${GITHUB_ENV}
- name: Set IMAGE_TAG env
Expand Down
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -44,7 +44,7 @@ jobs:
name: release linux/amd64
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: wangyoucao577/go-release-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -115,7 +115,7 @@ jobs:
- goarch: arm64
goos: windows
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: wangyoucao577/go-release-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 20a68b7

Please sign in to comment.