Skip to content

Commit

Permalink
Added job to wait for maven central artefacts
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasKunz committed Feb 7, 2023
1 parent 73a3588 commit 13082a1
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ jobs:
prepare_release:
name: "Changelog and Version Bump"
runs-on: ubuntu-latest
#TODO: disabled for now
if: false
steps:
- uses: actions/checkout@v3
#TODO: Use apmmachine + setup authorization (SSH?)
Expand All @@ -57,3 +59,17 @@ jobs:
- name: Bump version and add git tag
run: ./mvnw release:prepare -B -DpushChanges=false "-Darguments=-DskipTests -Dmaven.javadoc.skip=true" -DreleaseVersion=${{ inputs.version }}
- run: git push --atomic origin ${{ inputs.branch }} v${{ inputs.version }}


await_artifact_on_maven_central:
name: "Wait for artifacts to be available on maven central"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- shell: bash
run: |
until .ci/release/wait_maven_artifact_published.sh ${{ inputs.version }}
do
echo "Artifacts not found on maven central. Sleeping 10 seconds, retrying afterwards"
sleep 10s
done

0 comments on commit 13082a1

Please sign in to comment.