Skip to content

Commit

Permalink
✨ feat(actions): 尝试修改if条件
Browse files Browse the repository at this point in the history
  • Loading branch information
wosiwq committed Dec 21, 2023
1 parent 6f5a275 commit 7fc6e5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ jobs:

- name: Archive production artifacts
run: tar -czvf dist.tar.gz dist
if: startsWith(github.ref, 'refs/tags/')
if: startsWith(github.ref, 'refs/tags/v')

- name: Upload Release Asset
id: upload-release-asset
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
if: startsWith(github.ref, 'refs/tags/v')
with:
files: dist.tar.gz

0 comments on commit 7fc6e5c

Please sign in to comment.