Skip to content

Commit 1fa12b6

Browse files
committed
ci: Remove XCode SDKs before cross-compiling
1 parent 2ac60f6 commit 1fa12b6

2 files changed

Lines changed: 10 additions & 9 deletions

File tree

.github/workflows/main.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ jobs:
2626

2727
- name: Create Keychain
2828
uses: sinoru/actions-setup-keychain@v1.0
29-
# run: fastlane create_keychain name:test password:test default_keychain:true unlock:true
3029

3130
- name: Test
3231
run: go test ./...

.github/workflows/release.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,21 @@ jobs:
99
goreleaser:
1010
runs-on: macos-latest
1111
steps:
12-
-
13-
name: Checkout
12+
- name: Checkout
1413
uses: actions/checkout@v2
15-
-
16-
name: Unshallow
14+
15+
- name: Unshallow
1716
run: git fetch --prune --unshallow
18-
-
19-
name: Set up Go
17+
18+
- name: Set up Go
2019
uses: actions/setup-go@v1
2120
with:
2221
go-version: 1.16.x
23-
-
24-
name: Run GoReleaser
22+
23+
- name: Remove old XCode SDKs
24+
run: sudo rm -Rf /Library/Developer/CommandLineTools/SDKs/*
25+
26+
- name: Run GoReleaser
2527
uses: goreleaser/goreleaser-action@v2
2628
with:
2729
args: release --rm-dist

0 commit comments

Comments
 (0)