Skip to content

Commit

Permalink
ci: fix tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Ernest committed Apr 20, 2024
1 parent 6be1fbc commit 4b461c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,14 @@ jobs:
strategy: upgrade

- name: Tag
if: github.ref_name == 'main' && steps.publish.outputs.type != 'none'
if: github.ref_name == 'main' && steps.publish.outputs.type
uses: anothrNick/github-tag-action@v1
env:
CUSTOM_TAG: ${{ steps.publish.outputs.version }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Release
if: github.ref_name == 'main' && steps.publish.outputs.type != 'none'
if: github.ref_name == 'main' && steps.publish.outputs.type
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ steps.publish.outputs.version }}
Expand Down

0 comments on commit 4b461c8

Please sign in to comment.