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:42 UTC

[camel] 04/05: (chores) ci: rollback to mvnd 0.8.2 as 1.0-m6 requires additional changes

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 7347bb365b4bfb68263bdee0b971a72c9d47a792
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Sun Apr 2 09:21:13 2023 +0200

    (chores) ci: rollback to mvnd 0.8.2 as 1.0-m6 requires additional changes
---
 .github/actions/install-mvnd/action.yml | 13 ++-----------
 1 file changed, 2 insertions(+), 11 deletions(-)

diff --git a/.github/actions/install-mvnd/action.yml b/.github/actions/install-mvnd/action.yml
index decc569a40b..d298fb70e1f 100644
--- a/.github/actions/install-mvnd/action.yml
+++ b/.github/actions/install-mvnd/action.yml
@@ -21,11 +21,7 @@ inputs:
   version:
     description: 'The version of the maven daemon to install'
     required: true
-    default: '1.0-m6'
-  milestone:
-    description: 'The version milestone of the maven daemon to install'
-    required: true
-    default: 'm40'
+    default: '0.8.2'
 outputs:
   mvnd-dir:
     description: "The directory where the command mvnd is located"
@@ -33,12 +29,7 @@ outputs:
 runs:
   using: "composite"
   steps:
-    - 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 }}-${{ inputs.milestone }}-linux-amd64.zip.sha256
-      shell: bash
-    - id: integrity-check
-      run: echo "$(cat mvnd.zip.sha256) mvnd.zip" | sha256sum --check
+    - run: curl -fsSL -o mvnd.zip https://github.com/apache/maven-mvnd/releases/download/${{ inputs.version }}/maven-mvnd-${{ inputs.version }}-linux-amd64.zip
       shell: bash
     - run: unzip mvnd.zip -d /tmp/
       shell: bash