Skip to content

Commit 7020674

Browse files
committed
[feature] Use newer version of mvnd
1 parent 35435f0 commit 7020674

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/actions/install-mvnd/action.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ inputs:
55
description: 'The version of the Maven Daemon to install'
66
required: true
77
default: '0.9.0'
8+
file-version-suffix:
9+
description: 'A suffix to append to the version of the download file of Maven Daemon to install'
10+
required: false
11+
default: ''
812
install-path:
913
description: 'The folder in which Maven Daemon will be installed as a sub-folder'
1014
required: true
@@ -40,7 +44,7 @@ runs:
4044
MVND_ARCHITECTURE="amd64"
4145
echo "MVND_PLATFORM=${MVND_PLATFORM}" >> $GITHUB_ENV
4246
echo "MVND_ARCHITECTURE=${MVND_ARCHITECTURE}" >> $GITHUB_ENV
43-
echo "MVND_NAME=maven-mvnd-${{ inputs.version }}-${MVND_PLATFORM}-${MVND_ARCHITECTURE}" >> $GITHUB_ENV
47+
echo "MVND_NAME=maven-mvnd-${{ inputs.version }}${{ inputs.file-version-suffix }}-${MVND_PLATFORM}-${MVND_ARCHITECTURE}" >> $GITHUB_ENV
4448
- name: Cache mvnd
4549
if: inputs.cache == 'true'
4650
id: cache-mvnd

.github/workflows/ci-test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ jobs:
4949
id: install-mvnd
5050
uses: ./.github/actions/install-mvnd
5151
with:
52-
version: '0.9.0'
52+
version: '1.0-m6'
53+
file-version-suffix: '-m40'
5354
cache: 'true'
5455
- name: Maven Build
5556
timeout-minutes: 10

0 commit comments

Comments
 (0)