Skip to content

Commit b68d5e7

Browse files
committed
Simplify dependency pre-download step in Maven workflows thanks to new resolver transport called native HTTP
1 parent a5f5e7b commit b68d5e7

2 files changed

Lines changed: 2 additions & 10 deletions

File tree

.github/workflows/java-ea-maven.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,7 @@ jobs:
3333
java-version: ${{ matrix.java }}
3434

3535
- name: Pre-download dependencies with Maven
36-
uses: nick-fields/retry@v3
37-
with:
38-
command: mvn -U dependency:go-offline
39-
max_attempts: 3
40-
timeout_minutes: 5
36+
run: mvn -U dependency:go-offline
4137

4238
- name: Build and (headless) test with Maven (Linux)
4339
if: ${{ runner.os == 'Linux' }}

.github/workflows/java8-maven.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,7 @@ jobs:
3232
cache: 'maven'
3333

3434
- name: Pre-download dependencies with Maven
35-
uses: nick-fields/retry@v3
36-
with:
37-
command: mvn -U dependency:go-offline
38-
max_attempts: 3
39-
timeout_minutes: 5
35+
run: mvn -U dependency:go-offline
4036

4137
- name: Build and (headless) test with Maven (Linux)
4238
if: ${{ runner.os == 'Linux' }}

0 commit comments

Comments
 (0)