mirror of
https://github.com/actions-rust-lang/setup-rust-toolchain.git
synced 2024-12-26 17:00:34 +01:00
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
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue