Skip to content

Commit

Permalink
get rid of self-hosted macos
Browse files Browse the repository at this point in the history
  • Loading branch information
edaniels committed Nov 6, 2023
1 parent 7b8641e commit 4de53ae
Showing 1 changed file with 1 addition and 20 deletions.
21 changes: 1 addition & 20 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@ jobs:
macos:
strategy:
matrix:
runs-on:
- macos-latest
- ['self-hosted', 'macOS', 'ARM64']
runs-on: macos-latest
go:
- '1.19'
runs-on: ${{ matrix.runs-on }}
Expand All @@ -57,23 +55,6 @@ jobs:
with:
repository: Homebrew/brew
path: homebrew
- name: Set up brew to install deps under temporary dir
if: matrix.runs-on != 'macos-latest' # set up local brew only on self-hosted
run: |
dir="${GITHUB_WORKSPACE}/homebrew"
cd "${dir}"
echo "Set up shellenv" >&2
env="$(./bin/brew shellenv)"
echo "${env}" | tee -a ${GITHUB_ENV}
eval "${env}"
echo "Set up paths" >&2
echo "${dir}/bin" | tee -a ${GITHUB_PATH}
echo "Brew update" >&2
brew update --force --quiet
chmod -R go-w "$(brew --prefix)/share/zsh"
- name: Install dependencies
run: |
which brew
Expand Down

0 comments on commit 4de53ae

Please sign in to comment.