Skip to content

Commit 80e5349

Browse files
ci: add targets to moon-repo/setup in binary artifact build
1 parent 795aa74 commit 80e5349

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,16 @@ jobs:
4848
matrix:
4949
include:
5050
- target: x86_64-unknown-linux-musl
51+
runner: ubuntu-latest
5152
- target: aarch64-unknown-linux-musl
52-
cross: true
53+
runner: codspeedhq-arm64-ubuntu-24.04
5354

54-
runs-on: ubuntu-latest
55+
runs-on: ${{ matrix.runner }}
5556
steps:
5657
- uses: actions/checkout@v4
5758
- uses: moonrepo/setup-rust@v0
5859
with:
59-
bins: cross
60+
targets: ${{ matrix.cross && '' || matrix.target }}
6061

6162
- run: ${{ matrix.cross && 'cross' || 'cargo' }} build --locked --release --bin cargo-codspeed --target ${{ matrix.target }}
6263

0 commit comments

Comments
 (0)