From 5d3d43d54ee45bb43474fde910a9a78a138645ac Mon Sep 17 00:00:00 2001 From: liyp Date: Sun, 30 Apr 2023 16:19:11 +0800 Subject: [PATCH] fix release --- .gitea/workflows/build.yaml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index a0c3c34..b3de55e 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -22,11 +22,11 @@ jobs: tar czf yacd.tar.gz ./public ls -la - - uses: actions/upload-artifact@v3 - with: - path: ./yacd.tar.gz - name: yacd-meta - if-no-files-found: warn + #- uses: actions/upload-artifact@v3 + #with: + #path: ./yacd.tar.gz + #name: yacd-meta + #if-no-files-found: warn - run: ls -la #- uses: actions/release-action@v1 #with: @@ -34,3 +34,9 @@ jobs: #tag: "v*" #artifacts: "./yacd.tar.gz" #token: ${{ secrets.RELEASE_KEY }} + - name: Release + uses: https://github.com/softprops/action-gh-release@v1 + if: startsWith(github.ref, 'refs/tags/') + with: + files: yacd.tar.gz +