Skip to content

Commit

Permalink
Install newer bash on macOS
Browse files Browse the repository at this point in the history
The code snippets are written with bash newer than 2014 in mind. This
works fine on Linux and Windows, but not macOS.
  • Loading branch information
jonasbb committed Feb 13, 2023
1 parent 8ba1b44 commit 40e33d4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 40e33d4

Please sign in to comment.