Skip to content

Commit

Permalink
ci: Don't be in snapshot mode if triggered by workflow run.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaqx0r committed Oct 16, 2024
1 parent 7c6a9c8 commit c11fa4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
# https://github.com/orgs/community/discussions/26238
if: ${{ !github.event.workflow_run || github.event.workflow_run.conclusion == 'success' }}
steps:
- if: ${{ !startsWith(github.ref, 'refs/tags/') }}
- if: ${{ !startsWith(github.ref, 'refs/tags/') || github.event.workflow_run }}
run: echo "flags=--snapshot" >> $GITHUB_ENV
- uses: actions/checkout@v4
with:
Expand Down

0 comments on commit c11fa4f

Please sign in to comment.