Skip to content

Commit

Permalink
feat(release): update macos version used by github action
Browse files Browse the repository at this point in the history
MacOS Catalina is no longer supported by Apple or GitHub
https://github.blog/changelog/2022-07-20-github-actions-the-macos-10-15-actions-runner-image-is-being-deprecated-and-will-be-removed-by-8-30-22.
This PR updates the runner used for MacOS to Big Sur. Includes a
fix for https://github.com/actions/runner-images/issues/6817.

Issue: rancher-sandbox#19
Signed-off-by: Ryan Currah <ryan@currah.ca>
  • Loading branch information
ryancurrah committed Dec 21, 2022
1 parent ada6d1b commit 3190e99
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ env:

jobs:
macos-build:
runs-on: macos-10.15
runs-on: macos-11
timeout-minutes: 60
steps:
- uses: actions/setup-go@v2
Expand All @@ -32,7 +32,14 @@ jobs:
# coreutils: required by test-example.sh for the "timeout" command
# autoconf: required for building vde
# automake: required for building vde
# TODO: Once https://github.com/actions/runner-images/issues/6817 is
# resolved, remove run lines with "rm /usr/local/bin/*"
run: |
rm /usr/local/bin/2to3
rm /usr/local/bin/idle3
rm /usr/local/bin/pydoc3
rm /usr/local/bin/python3
rm /usr/local/bin/python3-config
brew update
brew install qemu bash coreutils
brew install autoconf automake
Expand Down

0 comments on commit 3190e99

Please sign in to comment.