Skip to content

Commit

Permalink
fix: picking first Mac SDK (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanHope authored Jun 2, 2024
1 parent 6bf6d3d commit 397b344
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,14 @@ jobs:
brew install colima
colima start
- name: Release
run: task release
run: |
export SDK=$(ls -1 "/Library/Developer/CommandLineTools/SDKs/" | head -n 1)
task release
shell: nix develop --command bash -e {0}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WINGET_AUTH_TOKEN: ${{ secrets.WINGET_AUTH_TOKEN }}
TAP_AUTH_TOKEN: ${{ secrets.TAP_AUTH_TOKEN }}
NUR_AUTH_TOKEN: ${{ secrets.NUR_AUTH_TOKEN }}
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_STORE_CREDENTIALS }}
SDK:
1 change: 0 additions & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
env:
- CGO_ENABLED=1
- SDK=/Library/Developer/CommandLineTools/SDKs/MacOSX14.3.sdk

builds:
- id: armaria-darwin-amd64
Expand Down

0 comments on commit 397b344

Please sign in to comment.