Skip to content

Commit

Permalink
release only when tag
Browse files Browse the repository at this point in the history
  • Loading branch information
brunoborges committed Nov 3, 2023
1 parent f16a448 commit e3f517a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ jobs:
path: ./wcjvm/out/net7.0/win-x64/wcjvm.exe
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: "./wcjvm/out/net7.0/win-x64/wcjvm.exe"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit e3f517a

Please sign in to comment.