From df6c702f97fbf1086cb579de5109e56cbf4bf2f1 Mon Sep 17 00:00:00 2001 From: liyp Date: Sun, 30 Apr 2023 16:44:18 +0800 Subject: [PATCH] fix action --- .github/workflows/build.yaml | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index b4752f9..277a6de 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -19,29 +19,11 @@ jobs: pnpm build pwd 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 - run: ls -la - #- uses: actions/release-action@v1 - #with: - #allowUpdates: true - #tag: "v*" - #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: - # files: yacd.tar.gz -