diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml index e0fc8bf..b4d5c03 100644 --- a/.gitea/workflows/demo.yaml +++ b/.gitea/workflows/demo.yaml @@ -211,6 +211,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Set release tag as date id: vars run: echo "tag=release-$(TZ='Asia/Shanghai' date +'%Y%m%d%H%M%S')" >> $GITHUB_OUTPUT # 包含$GITHUB_ENV 的作用域,全steps也可访问 @@ -293,5 +295,12 @@ jobs: files: |- ./release/** - run: ls -R ./release/ + - name: Use Go Action + id: use-go-action + uses: https://gitea.com/actions/release-action@main + with: + files: |- + release/** + #api_key: '${{secrets.RELEASE_TOKEN}}'