6262 :verifyArtifactsInStagingRepositoryAreReproducible \
6363 --remote-repo-url=${{ env.STAGING_REPO_URL }}
6464 - name: Generate build provenance attestations
65- if: ${{ inputs.dryRun == ' false' }}
65+ if: ${{ inputs.dryRun == false }}
6666 uses: actions/attest-build-provenance@db473fddc028af60658334401dc6fa3ffd8669fd # v2.3.0
6767 with:
6868 subject-path: build/repo/**/*.jar
@@ -119,7 +119,7 @@ jobs:
119119 issues: write
120120 steps:
121121 - name: Close GitHub milestone
122- if: ${{ inputs.dryRun == ' false' }}
122+ if: ${{ inputs.dryRun == false }}
123123 uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
124124 with:
125125 result-encoding: string
@@ -157,7 +157,7 @@ jobs:
157157 fetch-depth: 1
158158 ref: "refs/tags/${{ env.RELEASE_TAG }}"
159159 - name: Release staging repository
160- if: ${{ inputs.dryRun == ' false' }}
160+ if: ${{ inputs.dryRun == false }}
161161 uses: ./.github/actions/run-gradle
162162 env:
163163 ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
@@ -198,7 +198,7 @@ jobs:
198198 gitPublishCopy \
199199 -Pdocumentation.replaceCurrentDocs=${{ contains(github.event.inputs.releaseVersion, '-') && 'false' || 'true' }}
200200 - name: Publish documentation
201- if: ${{ inputs.dryRun == ' false' }}
201+ if: ${{ inputs.dryRun == false }}
202202 uses: ./.github/actions/run-gradle
203203 env:
204204 GIT_USERNAME: git
@@ -211,15 +211,15 @@ jobs:
211211 gitPublishPush \
212212 -Pdocumentation.replaceCurrentDocs=${{ contains(github.event.inputs.releaseVersion, '-') && 'false' || 'true' }}
213213 - name: Wait for deployment to GitHub Pages
214- if: ${{ inputs.dryRun == ' false' }}
214+ if: ${{ inputs.dryRun == false }}
215215 id: pagesDeployment
216216 timeout-minutes: 20
217217 run: |
218218 URL="https://junit.org/junit5/docs/${{ github.event.inputs.releaseVersion }}/user-guide/junit-user-guide-${{ github.event.inputs.releaseVersion }}.pdf"
219219 ./.github/scripts/waitForUrl.sh "$URL"
220220 echo "pdfUrl=$URL" >> "$GITHUB_OUTPUT"
221221 - name: Verify integrity of PDF version of User Guide
222- if: ${{ inputs.dryRun == ' false' }}
222+ if: ${{ inputs.dryRun == false }}
223223 run: |
224224 curl --silent --fail --location --output /tmp/junit-user-guide.pdf "${{ steps.pagesDeployment.outputs.pdfUrl }}"
225225 pdfinfo /tmp/junit-user-guide.pdf
@@ -240,7 +240,7 @@ jobs:
240240 name: local-maven-repository
241241 path: build/repo
242242 - name: Wait for sync to Maven Central
243- if: ${{ inputs.dryRun == ' false' }}
243+ if: ${{ inputs.dryRun == false }}
244244 timeout-minutes: 30
245245 run: |
246246 find build/repo -name '*.pom' -printf './.github/scripts/waitForMavenCentralSync.sh %P\n' | sh
@@ -265,7 +265,7 @@ jobs:
265265 - name: Update JUnit dependencies in samples
266266 run: java src/Updater.java ${{ github.event.inputs.releaseVersion }}
267267 - name: Build samples
268- if: ${{ inputs.dryRun == ' false' }}
268+ if: ${{ inputs.dryRun == false }}
269269 run: java src/Builder.java
270270 - name: Create release branch
271271 run: |
@@ -275,19 +275,19 @@ jobs:
275275 git status
276276 git commit -a -m "Use ${{ github.event.inputs.releaseVersion }}"
277277 - name: Push release branch
278- if: ${{ inputs.dryRun == ' false' }}
278+ if: ${{ inputs.dryRun == false }}
279279 run: |
280280 git push origin "${{ env.RELEASE_TAG }}"
281281 - name: Update main branch (only for GA releases)
282- if: ${{ inputs.dryRun == ' false' && !contains(github.event.inputs.releaseVersion, '-') }}
282+ if: ${{ inputs.dryRun == false && !contains(github.event.inputs.releaseVersion, '-') }}
283283 run: |
284284 git switch main
285285 git merge --ff-only "${{ env.RELEASE_TAG }}"
286286 git push origin main
287287
288288 create_github_release:
289289 name: Create GitHub release
290- if: ${{ inputs.dryRun == ' false' }}
290+ if: ${{ inputs.dryRun == false }}
291291 needs: wait_for_maven_central
292292 runs-on: ubuntu-latest
293293 permissions:
0 commit comments