You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2023/04/03 13:06:27 UTC
[camel] 01/02: (chores) ci: use the Apache archive for downloading Maven Daemon
This is an automated email from the ASF dual-hosted git repository.
orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
commit c134ccacf36d1051bcffc3e891e5ee235b745b76
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Mon Apr 3 14:57:22 2023 +0200
(chores) ci: use the Apache archive for downloading Maven Daemon
Includes reverts to several work-around commits:
- 07023f48f6d97bb9eabb3dc10c12de4331bb35eb: Revert "(chores) ci: bump to mvnd 1.0-m6-m40 as the older versions were removed from the Apache CDN"
- b431c90b821fc67e91e27d790fddaca3555b9e28: Revert "(chores) ci: fix mvnd URL"
- b96b4c8745b338be9c4dcc335b6fe73edb060958: Revert "(chores) ci: fix mvnd sha256 URL"
- 16297b7657da87997bfb787b73c6bf04553180e2: Revert "(chores) ci: rollback to mvnd 0.8.2 as 1.0-m6 requires additional changes"
---
.github/actions/install-mvnd/action.yml | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/.github/actions/install-mvnd/action.yml b/.github/actions/install-mvnd/action.yml
index d298fb70e1f..5414102c1b9 100644
--- a/.github/actions/install-mvnd/action.yml
+++ b/.github/actions/install-mvnd/action.yml
@@ -29,7 +29,12 @@ outputs:
runs:
using: "composite"
steps:
- - run: curl -fsSL -o mvnd.zip https://github.com/apache/maven-mvnd/releases/download/${{ inputs.version }}/maven-mvnd-${{ inputs.version }}-linux-amd64.zip
+ - run: curl -fsSL -o mvnd.zip https://archive.apache.org/dist/maven/mvnd/${{ inputs.version }}/maven-mvnd-${{ inputs.version }}-linux-amd64.zip
+ shell: bash
+ - run: curl -fsSL -o mvnd.zip.sha256 https://archive.apache.org/dist/maven/mvnd/${{ inputs.version }}/maven-mvnd-${{ inputs.version }}-linux-amd64.zip.sha256
+ shell: bash
+ - id: integrity-check
+ run: echo "$(cat mvnd.zip.sha256) mvnd.zip" | sha256sum --check
shell: bash
- run: unzip mvnd.zip -d /tmp/
shell: bash