From 758f1fb1c9c4505f53e9d3d9866bc7d01e945056 Mon Sep 17 00:00:00 2001 From: ljw <84855512@qq.com> Date: Sun, 22 Sep 2024 21:28:43 +0800 Subject: [PATCH] up test.yml --- .github/workflows/test.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c0c1502..31d8055 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -62,16 +62,12 @@ jobs: path: | ${{ matrix.goos}}-${{ matrix.goarch }}.tar.gz ${{ matrix.goos}}-${{ matrix.goarch }}.zip - release: - runs-on: ubuntu-latest - needs: build - steps: - - name: Create GitHub Release + + - name: Upload to GitHub Release uses: softprops/action-gh-release@v2 - if: startsWith(github.ref, 'refs/tags/') with: files: | ${{ matrix.goos}}-${{ matrix.goarch }}.tar.gz ${{ matrix.goos}}-${{ matrix.goarch }}.zip env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}