From e1e898a39933bf7a81c917e3b52c0013724a4cd2 Mon Sep 17 00:00:00 2001 From: liyp Date: Sun, 30 Apr 2023 16:42:29 +0800 Subject: [PATCH] fix action --- .github/workflows/build.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 184909b..b4752f9 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -34,6 +34,12 @@ jobs: #artifacts: "./yacd.tar.gz" #token: ${{ secrets.RELEASE_KEY }} # - name: Release + - name: Release + uses: https://github.com/softprops/action-gh-release@v1 + if: startsWith(github.ref, 'refs/heads/') + with: + files: yacd.tar.gz + #uses: https://github.com/softprops/action-gh-release@v1 #if: startsWith(github.ref, 'refs/tags/') #with: