Skip to content

Commit

Permalink
move tag check
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastian-alfers committed Oct 19, 2023
1 parent 1d5cf86 commit 08327d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ permissions:
jobs:
publish:
if: github.event.repository.fork == false
if: startsWith(github.event.ref, 'refs/tags/v')
name: Publish
runs-on: ubuntu-22.04
env:
Expand All @@ -23,6 +22,7 @@ jobs:

steps:
- name: Checkout
if: startsWith(github.event.ref, 'refs/tags/v')
# https://github.com/actions/checkout/releases
# v4.1.0
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
Expand Down

0 comments on commit 08327d2

Please sign in to comment.