You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2023/04/06 05:24:40 UTC

[camel] 02/05: (chores) ci: fix mvnd URL

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

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

commit e38d53eed57c7673c79a8fdacda65ce351717e7c
Author: Otavio Rodolfo Piske <an...@gmail.com>
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