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.
This commit is contained in:
parent
8ba1b441e5
commit
40e33d4912
|
@ -44,6 +44,13 @@ outputs:
|
||||||
runs:
|
runs:
|
||||||
using: composite
|
using: composite
|
||||||
steps:
|
steps:
|
||||||
|
# The later code uses "newer" bash features, which are not available in the ancient bash 3 (from 2014) of macOS
|
||||||
|
- name: Unbork mac
|
||||||
|
if: runner.os == 'macOS'
|
||||||
|
run: |
|
||||||
|
brew install bash
|
||||||
|
shell: bash
|
||||||
|
|
||||||
- id: flags
|
- id: flags
|
||||||
run: |
|
run: |
|
||||||
: construct rustup command line
|
: construct rustup command line
|
||||||
|
|
Loading…
Reference in New Issue