Skip to content

Commit

Permalink
cd: skip upload when there is no version
Browse files Browse the repository at this point in the history
  • Loading branch information
PhearZero committed Jan 14, 2025
1 parent f0dc747 commit 5a0233d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/CD.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Upload Release
if: ${{ steps.semver.outputs.version != '' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release upload v${{steps.semver.outputs.version}} bin/**/*

0 comments on commit 5a0233d

Please sign in to comment.