Skip to content

Commit df176de

Browse files
committed
ci: skip release-please on tag releases
1 parent 4ba76c5 commit df176de

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ env:
1818

1919
jobs:
2020
release-please:
21+
if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
2122
runs-on: ubuntu-latest
2223
outputs:
2324
release_created: ${{ steps.release.outputs.release_created }}
@@ -30,7 +31,7 @@ jobs:
3031

3132
release-build:
3233
needs: release-please
33-
if: ${{ needs.release-please.outputs.release_created || github.event_name == 'workflow_dispatch' || startsWith(github.ref, 'refs/tags/v') }}
34+
if: ${{ always() && (needs.release-please.outputs.release_created == 'true' || github.event_name == 'workflow_dispatch' || startsWith(github.ref, 'refs/tags/v')) }}
3435
name: Release Build
3536
strategy:
3637
fail-fast: false

0 commit comments

Comments
 (0)