Skip to content

Commit

Permalink
CLI release: fix macOS builds
Browse files Browse the repository at this point in the history
  • Loading branch information
sameer committed Apr 6, 2024
1 parent 75f7cc2 commit 3b0800e
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/release.yml
Expand Up @@ -5,23 +5,25 @@ on:

jobs:
release:
name: release ${{ matrix.target }}
name: release ${{ matrix.targets.name }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
target:
targets:
[
x86_64-pc-windows-gnu,
x86_64-unknown-linux-musl,
x86_64-apple-darwin,
{ name: Windows, triple: x86_64-pc-windows-gnu, version: stable },
{ name: Linux, triple: x86_64-unknown-linux-musl, version: stable },
# Fix for https://github.com/rust-build/rust-build.action/issues/88
{ name: macOS, triple: x86_64-apple-darwin, version: '1.73.0' }
]
steps:
- uses: actions/checkout@v4
- name: Compile and release
uses: rust-build/rust-build.action@v1.4.5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RUSTTARGET: ${{ matrix.target }}
RUSTTARGET: ${{ matrix.targets.triple }}
TOOLCHAIN_VERSION: ${{ matrix.targets.version }}
EXTRA_FILES: "README.md LICENSE"
SRC_DIR: "cli/"

0 comments on commit 3b0800e

Please sign in to comment.