up test.yml

This commit is contained in:
ljw
2024-09-22 21:28:43 +08:00
parent 02ba4a3330
commit d4623c5bc9
+2 -6
View File
@@ -62,13 +62,9 @@ jobs:
path: | path: |
${{ matrix.goos}}-${{ matrix.goarch }}.tar.gz ${{ matrix.goos}}-${{ matrix.goarch }}.tar.gz
${{ matrix.goos}}-${{ matrix.goarch }}.zip ${{ matrix.goos}}-${{ matrix.goarch }}.zip
release:
runs-on: ubuntu-latest - name: Upload to GitHub Release
needs: build
steps:
- name: Create GitHub Release
uses: softprops/action-gh-release@v2 uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with: with:
files: | files: |
${{ matrix.goos}}-${{ matrix.goarch }}.tar.gz ${{ matrix.goos}}-${{ matrix.goarch }}.tar.gz