This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch camel-3.20.x
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 4c1336ea4c7bdeee79d8367a07363c1bc4a7e9fb
Author: Otavio Rodolfo Piske <[email protected]>
AuthorDate: Sun Apr 2 09:14:28 2023 +0200

    (chores) ci: fix mvnd URL
---
 .github/actions/install-mvnd/action.yml | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/.github/actions/install-mvnd/action.yml 
b/.github/actions/install-mvnd/action.yml
index b5278728385..e670d019627 100644
--- a/.github/actions/install-mvnd/action.yml
+++ b/.github/actions/install-mvnd/action.yml
@@ -21,7 +21,11 @@ inputs:
   version:
     description: 'The version of the maven daemon to install'
     required: true
-    default: '1.0-m6-m40'
+    default: '1.0-m6'
+  milestone:
+    description: 'The version milestone of the maven daemon to install'
+    required: true
+    default: 'm40'
 outputs:
   mvnd-dir:
     description: "The directory where the command mvnd is located"
@@ -29,7 +33,7 @@ outputs:
 runs:
   using: "composite"
   steps:
-    - run: curl -fsSL -o mvnd.zip https://dlcdn.apache.org/maven/mvnd/${{ 
inputs.version }}/maven-mvnd-${{ inputs.version }}-linux-amd64.zip
+    - run: curl -fsSL -o mvnd.zip https://dlcdn.apache.org/maven/mvnd/${{ 
inputs.version }}/maven-mvnd-${{ inputs.version }}-${{ inputs.milestone 
}}-linux-amd64.zip
       shell: bash
     - run: curl -fsSL -o mvnd.zip.sha256 
https://dlcdn.apache.org/maven/mvnd/${{ inputs.version }}/maven-mvnd-${{ 
inputs.version }}-linux-amd64.zip.sha256
       shell: bash

Reply via email to