Skip to content

Commit 1d0f98f

Browse files
committed
Configure to use latest xcode so that everything works after GHA changes
actions/runner-images#12541
1 parent 6ae9dbf commit 1d0f98f

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

.github/actions/setup-environment/action.yml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,24 @@ runs:
2727
11
2828
17
2929
21
30+
31+
# Platform specific setup
3032
- name: "Redirect konan caches to fast D: drive for Windows runners"
3133
if: runner.os == 'Windows'
3234
shell: cmd
3335
run: echo KONAN_DATA_DIR=D:\.konan>>%GITHUB_ENV%
36+
- name: Install openssl in mingw environment (for openssl shared testing)
37+
if: runner.os == 'Windows'
38+
uses: msys2/setup-msys2@v2
39+
with:
40+
release: false
41+
install: mingw-w64-x86_64-openssl
42+
- name: Use latest Xcode, so that it will have the latest platforms installed and supported
43+
if: runner.os == 'macOS'
44+
uses: maxim-lobanov/setup-xcode@v1
45+
with:
46+
xcode-version: latest-stable
47+
3448
- uses: gradle/actions/setup-gradle@v4
3549
with:
3650
build-scan-publish: true
@@ -41,10 +55,5 @@ runs:
4155
cache-read-only: ${{ inputs.cache-read-only }}
4256

4357
dependency-graph: ${{ (inputs.submit-dependency-graph == 'true') && 'generate-and-submit' || 'disabled' }}
44-
- if: runner.os == 'Windows'
45-
uses: msys2/setup-msys2@v2
46-
with:
47-
release: false
48-
install: mingw-w64-x86_64-openssl
4958
- run: ./gradlew commonizeNativeDistribution
5059
shell: bash

0 commit comments

Comments
 (0)