This commit is contained in:
John Goerzen 2020-09-25 18:47:37 -05:00
parent 4074afc905
commit bba8f91f44
1 changed files with 2 additions and 0 deletions

View File

@ -31,6 +31,7 @@ jobs:
id: create_release id: create_release
uses: actions/create-release@v1 uses: actions/create-release@v1
continue-on-error: true continue-on-error: true
if: startsWith(github.ref, 'refs/tags')
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
@ -40,6 +41,7 @@ jobs:
prerelease: false prerelease: false
- name: Upload binaries to release for ${{ matrix.os }} - name: Upload binaries to release for ${{ matrix.os }}
uses: svenstaro/upload-release-action@v2 uses: svenstaro/upload-release-action@v2
if: startsWith(github.ref, 'refs/tags')
with: with:
repo_token: ${{ secrets.GITHUB_TOKEN }} repo_token: ${{ secrets.GITHUB_TOKEN }}
file: target/release/xbnet file: target/release/xbnet