Skip to content

Commit a9ad95c

Browse files
authored
Also set Xcode version explicitly in Android workflow. (#786)
1 parent 86cfdd7 commit a9ad95c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/android.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ on:
1313
env:
1414
CCACHE_DIR: ${{ github.workspace }}/ccache_dir
1515
GITHUB_TOKEN: ${{ github.token }}
16+
xcodeVersion: "12.4" # Only affects Mac runners, and only for prerequisites.
1617

1718
jobs:
1819
prepare_matrix:
@@ -46,6 +47,10 @@ jobs:
4647
architecture: ${{ fromJson(needs.prepare_matrix.outputs.matrix_architecture) }}
4748
python_version: ${{ fromJson(needs.prepare_matrix.outputs.matrix_python_version) }}
4849
steps:
50+
- name: setup Xcode version (macos)
51+
if: runner.os == 'macOS'
52+
run: sudo xcode-select -s /Applications/Xcode_${{ env.xcodeVersion }}.app/Contents/Developer
53+
4954
- name: Store git credentials for all git commands
5055
# Forces all git commands to use authenticated https, to prevent throttling.
5156
shell: bash

0 commit comments

Comments
 (0)