Skip to content

Commit

Permalink
Pin macos runner version (#2050)
Browse files Browse the repository at this point in the history
Using macos-12 runner (now latest) restricts macos amd-64 binaries from being consumed on big-sur.

Related to pulumi/pulumi#11152
  • Loading branch information
danielrbradley committed Oct 26, 2022
1 parent d398079 commit 4729d5c
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/arm2pulumi-release.yml
Expand Up @@ -38,7 +38,7 @@ env:
PULUMI_API: https://api.pulumi-staging.io
jobs:
release:
runs-on: macos-latest
runs-on: macos-11
steps:
- name: Checkout Repo
uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Expand Up @@ -131,7 +131,7 @@ jobs:
status: ${{ job.status }}
build_sdks:
needs: prerequisites
runs-on: ${{ matrix.language == 'dotnet' && 'macos-latest' || 'ubuntu-latest' }}
runs-on: ${{ matrix.language == 'dotnet' && 'macos-11' || 'ubuntu-latest' }}
strategy:
fail-fast: true
matrix:
Expand Down Expand Up @@ -258,7 +258,7 @@ jobs:
fields: repo,commit,author,action
status: ${{ job.status }}
publish:
runs-on: macos-latest
runs-on: macos-11
needs: build_sdks
strategy:
matrix:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/prerelease.yml
Expand Up @@ -122,7 +122,7 @@ jobs:
status: ${{ job.status }}
build_sdks:
needs: prerequisites
runs-on: ${{ matrix.language == 'dotnet' && 'macos-latest' || 'ubuntu-latest' }}
runs-on: ${{ matrix.language == 'dotnet' && 'macos-11' || 'ubuntu-latest' }}
strategy:
fail-fast: true
matrix:
Expand Down Expand Up @@ -249,7 +249,7 @@ jobs:
fields: repo,commit,author,action
status: ${{ job.status }}
publish:
runs-on: macos-latest
runs-on: macos-11
needs: build_sdks
strategy:
matrix:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Expand Up @@ -123,7 +123,7 @@ jobs:
status: ${{ job.status }}
build_sdks:
needs: prerequisites
runs-on: ${{ matrix.language == 'dotnet' && 'macos-latest' || 'ubuntu-latest' }}
runs-on: ${{ matrix.language == 'dotnet' && 'macos-11' || 'ubuntu-latest' }}
strategy:
fail-fast: true
matrix:
Expand Down Expand Up @@ -250,7 +250,7 @@ jobs:
fields: repo,commit,author,action
status: ${{ job.status }}
publish:
runs-on: macos-latest
runs-on: macos-11
needs: build_sdks
strategy:
fail-fast: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-acceptance-tests.yml
Expand Up @@ -151,7 +151,7 @@ jobs:
github.event.pull_request.head.repo.full_name == github.repository
build_sdks:
needs: prerequisites
runs-on: ${{ matrix.language == 'dotnet' && 'macos-latest' || 'ubuntu-latest' }}
runs-on: ${{ matrix.language == 'dotnet' && 'macos-11' || 'ubuntu-latest' }}
strategy:
fail-fast: true
matrix:
Expand Down

0 comments on commit 4729d5c

Please sign in to comment.