File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -199,17 +199,17 @@ jobs:
199199 sudo apt-get install --yes poppler-utils
200200 - name : Wait for deployment
201201 if : ${{ inputs.dryRun == false }}
202- id : pagesDeployment
203202 timeout-minutes : 30
204- run : |
205- URL="https://docs.junit.org/${{ inputs.releaseVersion }}/_exports/junit-user-guide-${{ inputs.releaseVersion }}.pdf"
206- ./.github/scripts/waitForUrl.sh "$URL"
207- echo "pdfUrl=$URL" >> "$GITHUB_OUTPUT"
203+ run : ./.github/scripts/waitForUrl.sh "${URL}"
204+ env :
205+ URL : https://docs.junit.org/${{ inputs.releaseVersion }}/
208206 - name : Verify integrity of PDF version of User Guide
209- if : ${{ inputs.dryRun == false }}
207+ if : inputs.dryRun == false && !contains(inputs.releaseVersion, '-')
210208 run : |
211- curl --silent --fail --location --output /tmp/junit-user-guide.pdf "${{ steps.pagesDeployment.outputs.pdfUrl } }"
209+ curl --silent --fail --location --output /tmp/junit-user-guide.pdf "${PDF_URL }"
212210 pdfinfo /tmp/junit-user-guide.pdf
211+ env :
212+ PDF_URL : https://docs.junit.org/${{ inputs.releaseVersion }}/_exports/junit-user-guide-${{ inputs.releaseVersion }}.pdf
213213
214214 update_examples :
215215 name : Update examples
You can’t perform that action at this time.
0 commit comments