Skip to content

Commit

Permalink
ci: update snapshots and retry download of released artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
oleschoenburg committed May 9, 2023
1 parent 54a1ee0 commit 81df9ce
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/actions/setup-zeebe/action.yml
Expand Up @@ -93,6 +93,9 @@ runs:
shell: bash
# `--errors` ensures errors will also spit out a stack trace, which is always useful, and has no impact on normal builds
#
# `--update-snapshots` to force Maven into updating snapshots, but also to retry looking for
# release artifacts when an earlier lookup failure made it into the cache.
#
# `maven.wagon.*` and `maven.resolver.transport` set the resolver's network transport to Wagon,
# the old provider pre 3.9. Until Maven 3.9.2, we have to do this if we want to retry on
# network issues, as otherwise any issue will fail the build.
Expand All @@ -105,6 +108,7 @@ runs:
tee .mvn/maven.config <<EOF
--errors
--batch-mode
--update-snapshots
-D maven.wagon.httpconnectionManager.ttlSeconds=120
-D maven.wagon.http.pool=false
-D maven.resolver.transport=wagon
Expand Down

0 comments on commit 81df9ce

Please sign in to comment.