Skip to content

Commit 744ffc7

Browse files
authored
Merge pull request #5852 from duncdrum/backport-5851
[ci] fix macOS testing
2 parents 91f7107 + 5680237 commit 744ffc7

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

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

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ inputs:
44
version:
55
description: 'The version of the Maven Daemon to install'
66
required: true
7-
default: '0.9.0'
7+
default: '1.0.2'
88
file-version-suffix:
99
description: 'A suffix to append to the version of the download file of Maven Daemon to install'
1010
required: false
@@ -61,11 +61,14 @@ runs:
6161
run: |
6262
curl -fsSL -o ${{ inputs.install-path }}/${{ env.MVND_NAME }}.zip https://archive.apache.org/dist/maven/mvnd/${{ inputs.version }}/${{ env.MVND_NAME }}.zip
6363
curl -fsSL -o ${{ inputs.install-path }}/${{ env.MVND_NAME }}.zip.sha256 https://archive.apache.org/dist/maven/mvnd/${{ inputs.version }}/${{ env.MVND_NAME }}.zip.sha256
64-
- name: Install sha256sum (macOS)
65-
if: ${{ runner.os == 'macOS' }}
66-
shell: bash
67-
run: brew install coreutils
64+
# see #5842
65+
# brew install mvndaemon/homebrew-mvnd/mvnd@1
66+
# - name: Install coreutils (macOS)
67+
# if: ${{ runner.os == 'macOS' }}
68+
# shell: bash
69+
# run: brew install coreutils
6870
- name: Verify mvnd sha256 checksum
71+
if: ${{ runner.os != 'macOS' }}
6972
shell: bash
7073
run: echo "$(cat ${{ inputs.install-path }}/${{ env.MVND_NAME }}.zip.sha256) ${{ inputs.install-path }}/${{ env.MVND_NAME }}.zip" | sha256sum --check
7174
- name: Unzip mvnd

0 commit comments

Comments
 (0)