3 Commits
v4 ... v4.1

Author SHA1 Message Date
stCarolas
3c9ddfb1c6 Merge pull request #9 from joewitt/master
Ensures the proper dynamically constructed Apache mirror download is …
2021-04-10 14:43:28 +03:00
Joe Witt
25f7163d53 Ensures the proper dynamically constructed Apache mirror download is used instead of apache archive server which would cap/block at a certain download capacity 2021-04-09 09:19:11 -07:00
stCarolas
d55bf2a4b0 Update README.md 2020-11-20 21:17:16 +03:00
2 changed files with 2 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ Add this step into workflow
```
- name: Set up Maven
uses: stCarolas/setup-maven@v3
uses: stCarolas/setup-maven@v4
with:
maven-version: 3.5.4
```

View File

@@ -34,7 +34,7 @@ export async function getMaven(version: string) {
async function downloadMaven(version: string): Promise<string> {
const toolDirectoryName = `apache-maven-${version}`
const downloadUrl =
`https://archive.apache.org/dist/maven/maven-3/${version}/binaries/${toolDirectoryName}-bin.tar.gz`
`https://apache.org/dyn/closer.cgi?filename=maven/maven-3/${version}/binaries/${toolDirectoryName}-bin.tar.gz&action=download`
console.log(`downloading ${downloadUrl}`)
try {