Skip to content

Commit 66c89a8

Browse files
ci: add aligned macos release (#549)
1 parent 026e7aa commit 66c89a8

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

.github/workflows/release.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build and Release Rust Project
1+
name: Build and Release Aligned Client
22

33
on:
44
push:
@@ -7,16 +7,27 @@ on:
77

88
jobs:
99
build:
10-
runs-on: ubuntu-latest
10+
strategy:
11+
matrix:
12+
include:
13+
- os: ubuntu-latest
14+
artifact_name: aligned-x86
15+
- os: macos-latest
16+
artifact_name: aligned-arm64
17+
18+
runs-on: ${{ matrix.os }}
1119

1220
steps:
1321
- name: Checkout repository
1422
uses: actions/checkout@v4
1523

1624
- name: Build batcher client
1725
run: make build_batcher_client
26+
27+
- name: Rename binary
28+
run: mv batcher/client/target/release/aligned ${{ matrix.artifact_name }}
1829

1930
- name: Release
2031
uses: softprops/action-gh-release@v2
2132
with:
22-
files: batcher/client/target/release/aligned
33+
files: ${{ matrix.artifact_name }}

0 commit comments

Comments
 (0)