From 0e2dfe1c0afa63178a57d07c3a84ad2f94bbe8f1 Mon Sep 17 00:00:00 2001 From: admin Date: Mon, 20 Apr 2026 20:33:11 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BD=BF=E7=94=A8=20upload-artifact@v3.?= =?UTF-8?q?2.2=20-=20=E6=94=AF=E6=8C=81=20Gitea?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-docker-artifact.yml | 2 +- .github/workflows/build-docker-image.yml | 14 ++++++-------- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build-docker-artifact.yml b/.github/workflows/build-docker-artifact.yml index 9924bce94..c29339c3e 100644 --- a/.github/workflows/build-docker-artifact.yml +++ b/.github/workflows/build-docker-artifact.yml @@ -57,7 +57,7 @@ jobs: tar zcvf next-terminal-${{ steps.version.outputs.VERSION }}-linux-amd64.tar.gz next-terminal/ - name: Upload artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v3.2.2 with: name: next-terminal-${{ steps.version.outputs.VERSION }}-linux-amd64 path: next-terminal-${{ steps.version.outputs.VERSION }}-linux-amd64.tar.gz diff --git a/.github/workflows/build-docker-image.yml b/.github/workflows/build-docker-image.yml index 03e50e565..d9f54c8f6 100644 --- a/.github/workflows/build-docker-image.yml +++ b/.github/workflows/build-docker-image.yml @@ -72,11 +72,9 @@ jobs: docker save next-terminal:${{ steps.version.outputs.VERSION}} | gzip > next-terminal-${{ steps.version.outputs.VERSION}}.tar.gz ls -lh next-terminal-*.tar.gz - # Artifact upload disabled - Gitea bug: https://github.com/go-gitea/gitea/issues/35619 - # The artifact URL uses DOMAIN:HTTP_PORT instead of ROOT_URL - # - name: Upload artifact - # uses: actions/upload-artifact@v3 - # with: - # name: next-terminal-docker-${{ steps.version.outputs.VERSION }} - # path: next-terminal-${{ steps.version.outputs.VERSION}}.tar.gz - # retention-days: 7 + - name: Upload artifact + uses: actions/upload-artifact@v3.2.2 + with: + name: next-terminal-docker-${{ steps.version.outputs.VERSION }} + path: next-terminal-${{ steps.version.outputs.VERSION}}.tar.gz + retention-days: 7