From 20a68b7fd2cb5af5cac697f0cc8003f117e4c027 Mon Sep 17 00:00:00 2001 From: Jay Zhang Date: Sat, 27 Jan 2024 13:28:32 +0000 Subject: [PATCH 1/2] chore: upgrade checkout action to v4 --- .github/workflows/autobuild.yml | 2 +- .github/workflows/autotest.yml | 10 +++++----- .github/workflows/pr.yml | 2 +- .github/workflows/release.yml | 2 +- README.md | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/autobuild.yml b/.github/workflows/autobuild.yml index 4431639..e2c4a27 100644 --- a/.github/workflows/autobuild.yml +++ b/.github/workflows/autobuild.yml @@ -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 diff --git a/.github/workflows/autotest.yml b/.github/workflows/autotest.yml index be17f37..b0ca354 100644 --- a/.github/workflows/autotest.yml +++ b/.github/workflows/autotest.yml @@ -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 @@ -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 @@ -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 @@ -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: @@ -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: diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 2764b28..20e4134 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -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 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ae5af61..286a591 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 diff --git a/README.md b/README.md index a87a2c6..e673207 100644 --- a/README.md +++ b/README.md @@ -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 }} @@ -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 }} From 76ba748fa18228ff284da31aaa4ccc4d9de27c50 Mon Sep 17 00:00:00 2001 From: Jay Zhang Date: Sat, 27 Jan 2024 13:47:33 +0000 Subject: [PATCH 2/2] feat: upgrade uploader version to avoid overwrite fail --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 98b71e2..22d97dd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ FROM debian:buster-slim ARG UPX_VER ARG UPLOADER_VER ENV UPX_VER=${UPX_VER:-4.0.0} -ENV UPLOADER_VER=${UPLOADER_VER:-v0.9.1} +ENV UPLOADER_VER=${UPLOADER_VER:-v0.13.0} RUN DEBIAN_FRONTEND=noninteractive apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \ curl \