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:
Jonas Bushart 2023-02-13 23:28:57 +01:00
parent 8ba1b441e5
commit 40e33d4912
1 changed files with 7 additions and 0 deletions

View File

@ -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