Skip to content

Commit

Permalink
ci: Remove XCode SDKs before cross-compiling
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgelbg committed Aug 3, 2021
1 parent 2ac60f6 commit 1fa12b6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
1 change: 0 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ jobs:

- name: Create Keychain
uses: sinoru/[email protected]
# run: fastlane create_keychain name:test password:test default_keychain:true unlock:true

- name: Test
run: go test ./...
18 changes: 10 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,21 @@ jobs:
goreleaser:
runs-on: macos-latest
steps:
-
name: Checkout
- name: Checkout
uses: actions/checkout@v2
-
name: Unshallow

- name: Unshallow
run: git fetch --prune --unshallow
-
name: Set up Go

- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: 1.16.x
-
name: Run GoReleaser

- name: Remove old XCode SDKs
run: sudo rm -Rf /Library/Developer/CommandLineTools/SDKs/*

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
args: release --rm-dist
Expand Down

0 comments on commit 1fa12b6

Please sign in to comment.