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/02 07:14:40 UTC

[camel] branch main updated: (chores) ci: fix mvnd URL

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


The following commit(s) were added to refs/heads/main by this push:
     new b96b4c8745b (chores) ci: fix mvnd URL
b96b4c8745b is described below

commit b96b4c8745b338be9c4dcc335b6fe73edb060958
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