mirror of
https://gitea.com/actions/setup-maven.git
synced 2025-11-07 02:36:20 +08:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3c9ddfb1c6 | ||
|
|
25f7163d53 | ||
|
|
d55bf2a4b0 |
@@ -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
|
||||
```
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user