Skip to content

Commit

Permalink
ci: don't run release follow-up tasks on dry run
Browse files Browse the repository at this point in the history
  • Loading branch information
stempler committed Jun 19, 2024
1 parent f88c066 commit 21a40bc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ jobs:
name: Deploy Maven artifacts
runs-on: ubuntu-latest
needs: [release]
if: ${{ needs.release.outputs.release-published != 'false' }}
if: ${{ !inputs.dryRun && needs.release.outputs.release-published != 'false' }}
steps:
- name: Setup Maven
uses: s4u/setup-maven-action@489441643219d2b93ee2a127b2402eb640a1b947 # v1.13.0
Expand Down Expand Up @@ -208,7 +208,7 @@ jobs:
name: Publish products and update site
runs-on: ubuntu-latest
needs: [release]
if: ${{ needs.release.outputs.release-published != 'false' }}
if: ${{ !inputs.dryRun && needs.release.outputs.release-published != 'false' }}
steps:
- name: Setup Maven
uses: s4u/setup-maven-action@489441643219d2b93ee2a127b2402eb640a1b947 # v1.13.0
Expand Down Expand Up @@ -278,7 +278,7 @@ jobs:
name: Build Windows installer
runs-on: windows-latest
needs: [release]
if: ${{ needs.release.outputs.release-published != 'false' }}
if: ${{ !inputs.dryRun && needs.release.outputs.release-published != 'false' }}
steps:
- name: Setup Maven
uses: s4u/setup-maven-action@489441643219d2b93ee2a127b2402eb640a1b947 # v1.13.0
Expand Down

0 comments on commit 21a40bc

Please sign in to comment.