Browse Source

up test.yml

ljw 1 year ago
parent
commit
758f1fb1c9
1 changed files with 3 additions and 7 deletions
  1. 3 7
      .github/workflows/test.yml

+ 3 - 7
.github/workflows/test.yml

@@ -62,16 +62,12 @@ jobs:
62 62
           path: |
63 63
             ${{ matrix.goos}}-${{ matrix.goarch }}.tar.gz
64 64
             ${{ matrix.goos}}-${{ matrix.goarch }}.zip
65
-  release:
66
-    runs-on: ubuntu-latest
67
-    needs: build
68
-    steps:
69
-      - name: Create GitHub Release
65
+
66
+      - name: Upload to GitHub Release
70 67
         uses: softprops/action-gh-release@v2
71
-        if: startsWith(github.ref, 'refs/tags/')
72 68
         with:
73 69
           files: |
74 70
             ${{ matrix.goos}}-${{ matrix.goarch }}.tar.gz
75 71
             ${{ matrix.goos}}-${{ matrix.goarch }}.zip
76 72
         env:
77
-          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
73
+          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}