Skip to content

Commit

Permalink
ci: add aligned macos release (#549)
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasRampoldi authored Jul 2, 2024
1 parent 026e7aa commit 66c89a8
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build and Release Rust Project
name: Build and Release Aligned Client

on:
push:
Expand All @@ -7,16 +7,27 @@ on:

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- os: ubuntu-latest
artifact_name: aligned-x86
- os: macos-latest
artifact_name: aligned-arm64

runs-on: ${{ matrix.os }}

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Build batcher client
run: make build_batcher_client

- name: Rename binary
run: mv batcher/client/target/release/aligned ${{ matrix.artifact_name }}

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

0 comments on commit 66c89a8

Please sign in to comment.