Skip to content

Commit 40e33d4

Browse files
committed
Install newer bash on macOS
The code snippets are written with bash newer than 2014 in mind. This works fine on Linux and Windows, but not macOS.
1 parent 8ba1b44 commit 40e33d4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

action.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,13 @@ outputs:
4444
runs:
4545
using: composite
4646
steps:
47+
# The later code uses "newer" bash features, which are not available in the ancient bash 3 (from 2014) of macOS
48+
- name: Unbork mac
49+
if: runner.os == 'macOS'
50+
run: |
51+
brew install bash
52+
shell: bash
53+
4754
- id: flags
4855
run: |
4956
: construct rustup command line

0 commit comments

Comments
 (0)