This is an automated email from the ASF dual-hosted git repository.
apupier pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new f3d85a92560 Use mvnd binary from `download` server instead of `archive`
f3d85a92560 is described below
commit f3d85a92560cb957bdcbe283114063547dfff091
Author: Aurélien Pupier <[email protected]>
AuthorDate: Fri Jun 20 11:38:22 2025 +0200
Use mvnd binary from `download` server instead of `archive`
On GitHUb Ci, there were quite often the error:
```
curl -fsSL -o mvnd.zip
https://archive.apache.org/dist/maven/mvnd/1.0-m6/maven-mvnd-1.0-m6-m39-linux-amd64.zip
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
curl: (28) Failed to connect to archive.apache.org port 443 after 134969
ms: Couldn't connect to server
```
Signed-off-by: Aurélien Pupier <[email protected]>
---
.github/actions/install-mvnd/action.yml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/.github/actions/install-mvnd/action.yml
b/.github/actions/install-mvnd/action.yml
index f47bdf17d87..6111a9d8296 100644
--- a/.github/actions/install-mvnd/action.yml
+++ b/.github/actions/install-mvnd/action.yml
@@ -25,7 +25,7 @@ inputs:
distribution:
description: 'The maven distribution to use'
required: true
- default: 'm39-linux-amd64'
+ default: 'linux-amd64'
dry-run:
description: 'Flag to enable to the dry-run mode'
required: true
@@ -37,10 +37,10 @@ outputs:
runs:
using: "composite"
steps:
- - run: curl -fsSL -o mvnd.zip
https://archive.apache.org/dist/maven/mvnd/${{ inputs.version }}/maven-mvnd-${{
inputs.version }}-${{ inputs.distribution }}.zip
+ - run: curl -fsSL -o mvnd.zip https://downloads.apache.org/maven/mvnd/${{
inputs.version }}/maven-mvnd-${{ inputs.version }}-${{ inputs.distribution
}}.zip
if: inputs.dry-run == 'false'
shell: bash
- - run: curl -fsSL -o mvnd.zip.sha256
https://archive.apache.org/dist/maven/mvnd/${{ inputs.version }}/maven-mvnd-${{
inputs.version }}-${{ inputs.distribution }}.zip.sha256
+ - run: curl -fsSL -o mvnd.zip.sha256
https://downloads.apache.org/maven/mvnd/${{ inputs.version }}/maven-mvnd-${{
inputs.version }}-${{ inputs.distribution }}.zip.sha256
if: inputs.dry-run == 'false'
shell: bash
- id: integrity-check