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 }}