fix: 使用 upload-artifact@v3.2.2 - 支持 Gitea
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
|
||||||
|
|||||||
Reference in New Issue
Block a user