fix: 使用 upload-artifact@v3.2.2 - 支持 Gitea

This commit is contained in:
2026-04-20 20:33:11 +08:00
parent befb110707
commit 0e2dfe1c0a
2 changed files with 7 additions and 9 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ jobs:
tar zcvf next-terminal-${{ steps.version.outputs.VERSION }}-linux-amd64.tar.gz next-terminal/ tar zcvf next-terminal-${{ steps.version.outputs.VERSION }}-linux-amd64.tar.gz next-terminal/
- name: Upload artifact - name: Upload artifact
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3.2.2
with: with:
name: next-terminal-${{ steps.version.outputs.VERSION }}-linux-amd64 name: next-terminal-${{ steps.version.outputs.VERSION }}-linux-amd64
path: next-terminal-${{ steps.version.outputs.VERSION }}-linux-amd64.tar.gz path: next-terminal-${{ steps.version.outputs.VERSION }}-linux-amd64.tar.gz
+6 -8
View File
@@ -72,11 +72,9 @@ jobs:
docker save next-terminal:${{ steps.version.outputs.VERSION}} | gzip > next-terminal-${{ steps.version.outputs.VERSION}}.tar.gz docker save next-terminal:${{ steps.version.outputs.VERSION}} | gzip > next-terminal-${{ steps.version.outputs.VERSION}}.tar.gz
ls -lh next-terminal-*.tar.gz ls -lh next-terminal-*.tar.gz
# Artifact upload disabled - Gitea bug: https://github.com/go-gitea/gitea/issues/35619 - name: Upload artifact
# The artifact URL uses DOMAIN:HTTP_PORT instead of ROOT_URL uses: actions/upload-artifact@v3.2.2
# - name: Upload artifact with:
# uses: actions/upload-artifact@v3 name: next-terminal-docker-${{ steps.version.outputs.VERSION }}
# with: path: next-terminal-${{ steps.version.outputs.VERSION}}.tar.gz
# name: next-terminal-docker-${{ steps.version.outputs.VERSION }} retention-days: 7
# path: next-terminal-${{ steps.version.outputs.VERSION}}.tar.gz
# retention-days: 7