Skip to content

Commit

Permalink
ci: wait for build plugin availability on release
Browse files Browse the repository at this point in the history
  • Loading branch information
ndr-brt committed Oct 24, 2024
1 parent 2dab2e2 commit fd2aaab
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,19 @@ jobs:
branch: ${{ inputs.branch }}
secrets: inherit

Wait-Build-Plugin:
needs: [ Publish-Components ]
runs-on: ubuntu-latest
steps:
- name: wait until the build plugin pom is available on maven central, because it is mandatory for the "Release-Components" job
run: |
build-pom=https://repo.maven.apache.org/maven2/org/eclipse/edc/edc-build/org.eclipse.edc.edc-build.gradle.plugin/${{ inputs.version }}/org.eclipse.edc.edc-build.gradle.plugin-${{ inputs.version }}.pom
bash -c 'while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' ${build-pom)" != "200" ]]; do sleep 5; done'
Release-Components:
name: "Release Components"
runs-on: ubuntu-latest
needs: [ Publish-Components ]
needs: [ Wait-Build-Plugin ]
strategy:
fail-fast: false
matrix:
Expand Down

0 comments on commit fd2aaab

Please sign in to comment.