Skip to content

Commit

Permalink
Explicitly specify cpu architecture in building x86_64-apple-darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
ShotaKitazawa committed Dec 30, 2024
1 parent 42403ce commit c2c26ae
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,12 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- uses: actions-rs/cargo@v1
with:
command: build
args: --release
target: x86_64-apple-darwin
- run: SDKROOT=$(xcrun --sdk macosx --show-sdk-path) MACOSX_DEPLOYMENT_TARGET=11.0 cargo build --release --target x86_64-apple-darwin
- uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: target/release/kubie
file: target/x86_64-apple-darwin/release/kubie
asset_name: kubie-darwin-amd64
tag: ${{ github.ref }}

Expand Down

0 comments on commit c2c26ae

Please sign in to comment.