Skip to content

Commit 7126a2f

Browse files
committed
build.yml: Adjust for change in 'brew'
'brew' apparently introduced an incompatible change, where even "--force" does not actually make the commands available in the default path. Also switch to a numbered macos release instead of "latest", though this did not save us from breaking changes in brew or other preinstalled sw.
1 parent 276241b commit 7126a2f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,15 +94,15 @@ jobs:
9494
path: mpy-cross/mpy-cross.static.exe
9595

9696
mpy-cross-mac:
97-
runs-on: macos-latest
97+
runs-on: macos-10.15
9898
steps:
9999
- name: Dump GitHub context
100100
env:
101101
GITHUB_CONTEXT: ${{ toJson(github) }}
102102
run: echo "$GITHUB_CONTEXT"
103-
- name: Install deps
103+
- name: Make gettext programs available
104104
run: |
105-
brew link --force gettext
105+
echo "::set-env name=PATH::/usr/local/opt/gettext/bin:$PATH"
106106
- name: Versions
107107
run: |
108108
gcc --version

0 commit comments

Comments
 (0)