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