Skip to content

Commit 4c292f6

Browse files
CopilotSteake
andcommitted
Apply review suggestions: use macos-14 for ARM64, target specific packages, simplify tar command
Co-authored-by: Steake <530040+Steake@users.noreply.github.com>
1 parent 1510a11 commit 4c292f6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- os: macos-latest
2626
target: x86_64-apple-darwin
2727
artifact_name: bitcell-macos-x86_64
28-
- os: macos-latest
28+
- os: macos-14 # Native ARM64 runner
2929
target: aarch64-apple-darwin
3030
artifact_name: bitcell-macos-aarch64
3131
- os: windows-latest
@@ -52,7 +52,7 @@ jobs:
5252
${{ runner.os }}-${{ matrix.target }}-cargo-
5353
5454
- name: Build release binaries
55-
run: cargo build --release --target ${{ matrix.target }}
55+
run: cargo build --release --target ${{ matrix.target }} -p bitcell-node -p bitcell-admin
5656

5757
- name: Create artifact directory
5858
shell: bash
@@ -77,7 +77,7 @@ jobs:
7777
shell: bash
7878
run: |
7979
cd artifacts
80-
tar -czvf ../${{ matrix.artifact_name }}.tar.gz ./*
80+
tar -czvf ../${{ matrix.artifact_name }}.tar.gz *
8181
cd ..
8282
8383
- name: Create archive (Windows)

0 commit comments

Comments
 (0)