File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55
66jobs :
77 release :
8- name : release ${{ matrix.target }}
8+ name : release ${{ matrix.targets.name }}
99 runs-on : ubuntu-latest
1010 strategy :
1111 fail-fast : false
1212 matrix :
13- target :
13+ targets :
1414 [
15- x86_64-pc-windows-gnu,
16- x86_64-unknown-linux-musl,
17- x86_64-apple-darwin,
15+ { name: Windows, triple: x86_64-pc-windows-gnu, version: stable },
16+ { name: Linux, triple: x86_64-unknown-linux-musl, version: stable },
17+ # Fix for https://github.com/rust-build/rust-build.action/issues/88
18+ { name: macOS, triple: x86_64-apple-darwin, version: '1.73.0' }
1819 ]
1920 steps :
2021 - uses : actions/checkout@v4
2122 - name : Compile and release
2223 uses : rust-build/rust-build.action@v1.4.5
2324 env :
2425 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
25- RUSTTARGET : ${{ matrix.target }}
26+ RUSTTARGET : ${{ matrix.targets.triple }}
27+ TOOLCHAIN_VERSION : ${{ matrix.targets.version }}
2628 EXTRA_FILES : " README.md LICENSE"
2729 SRC_DIR : " cli/"
You can’t perform that action at this time.
0 commit comments