|
66 | 66 | uses: actions/attest-build-provenance@db473fddc028af60658334401dc6fa3ffd8669fd # v2.3.0
|
67 | 67 | with:
|
68 | 68 | subject-path: build/repo/**/*.jar
|
69 |
| - - name: Upload local repository for later jobs |
70 |
| - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 |
71 |
| - with: |
72 |
| - name: local-maven-repository |
73 |
| - path: build/repo |
74 | 69 |
|
75 | 70 | verify_consumability:
|
76 | 71 | name: Verify consumability
|
@@ -223,30 +218,9 @@ jobs:
|
223 | 218 | curl --silent --fail --location --output /tmp/junit-user-guide.pdf "${{ steps.pagesDeployment.outputs.pdfUrl }}"
|
224 | 219 | pdfinfo /tmp/junit-user-guide.pdf
|
225 | 220 |
|
226 |
| - wait_for_maven_central: |
227 |
| - name: Wait for Maven Central |
228 |
| - needs: publish_deployment |
229 |
| - runs-on: ubuntu-latest |
230 |
| - steps: |
231 |
| - - name: Check out repository |
232 |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 |
233 |
| - with: |
234 |
| - fetch-depth: 1 |
235 |
| - ref: "refs/tags/${{ env.RELEASE_TAG }}" |
236 |
| - - name: Download local Maven repository |
237 |
| - uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0 |
238 |
| - with: |
239 |
| - name: local-maven-repository |
240 |
| - path: build/repo |
241 |
| - - name: Wait for sync to Maven Central |
242 |
| - if: ${{ inputs.dryRun == false }} |
243 |
| - timeout-minutes: 30 |
244 |
| - run: | |
245 |
| - find build/repo -name '*.pom' -printf './.github/scripts/waitForMavenCentralSync.sh %P\n' | sh |
246 |
| -
|
247 | 221 | update_samples:
|
248 | 222 | name: Update samples
|
249 |
| - needs: wait_for_maven_central |
| 223 | + needs: publish_deployment |
250 | 224 | runs-on: ubuntu-latest
|
251 | 225 | steps:
|
252 | 226 | - name: Check out samples repository
|
@@ -287,7 +261,7 @@ jobs:
|
287 | 261 | create_github_release:
|
288 | 262 | name: Create GitHub release
|
289 | 263 | if: ${{ inputs.dryRun == false }}
|
290 |
| - needs: wait_for_maven_central |
| 264 | + needs: [ publish_documentation, update_samples ] |
291 | 265 | runs-on: ubuntu-latest
|
292 | 266 | permissions:
|
293 | 267 | contents: write
|
|
0 commit comments