Skip to content

Commit

Permalink
[feature] Use newer version of mvnd
Browse files Browse the repository at this point in the history
  • Loading branch information
adamretter committed May 12, 2023
1 parent 35435f0 commit 7020674
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/actions/install-mvnd/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ inputs:
description: 'The version of the Maven Daemon to install'
required: true
default: '0.9.0'
file-version-suffix:
description: 'A suffix to append to the version of the download file of Maven Daemon to install'
required: false
default: ''
install-path:
description: 'The folder in which Maven Daemon will be installed as a sub-folder'
required: true
Expand Down Expand Up @@ -40,7 +44,7 @@ runs:
MVND_ARCHITECTURE="amd64"
echo "MVND_PLATFORM=${MVND_PLATFORM}" >> $GITHUB_ENV
echo "MVND_ARCHITECTURE=${MVND_ARCHITECTURE}" >> $GITHUB_ENV
echo "MVND_NAME=maven-mvnd-${{ inputs.version }}-${MVND_PLATFORM}-${MVND_ARCHITECTURE}" >> $GITHUB_ENV
echo "MVND_NAME=maven-mvnd-${{ inputs.version }}${{ inputs.file-version-suffix }}-${MVND_PLATFORM}-${MVND_ARCHITECTURE}" >> $GITHUB_ENV
- name: Cache mvnd
if: inputs.cache == 'true'
id: cache-mvnd
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/ci-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ jobs:
id: install-mvnd
uses: ./.github/actions/install-mvnd
with:
version: '0.9.0'
version: '1.0-m6'
file-version-suffix: '-m40'
cache: 'true'
- name: Maven Build
timeout-minutes: 10
Expand Down

0 comments on commit 7020674

Please sign in to comment.