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:
@ -44,6 +44,13 @@ outputs:
|
||||
runs:
|
||||
using: composite
|
||||
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
|
||||
run: |
|
||||
: construct rustup command line
|
||||
|
Reference in New Issue
Block a user