Skip to content
This repository was archived by the owner on Mar 24, 2024. It is now read-only.

Commit a088aa9

Browse files
committed
fix cross-compile release
1 parent 4a98de4 commit a088aa9

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ jobs:
6868
run: cargo build --release --target aarch64-apple-darwin --verbose
6969

7070
- name: Archive executable
71-
working-directory: ./target/release
72-
run: tar czvf ../../highlights-macos-aarch64.tar.gz highlights
71+
working-directory: ./target/aarch64-apple-darwin/release
72+
run: tar czvf ../../../highlights-macos-aarch64.tar.gz highlights
7373

7474
- name: Create release
7575
uses: softprops/action-gh-release@v1
@@ -93,16 +93,16 @@ jobs:
9393
uses: actions-rs/toolchain@v1
9494
with:
9595
toolchain: stable
96-
target: aarch64-linux-gnu
96+
target: aarch64-unknown-linux-gnu
9797
default: true
9898
override: true
9999

100100
- name: Build
101-
run: cargo build --release --target aarch64-linux-gnu --verbose
101+
run: cargo build --release --target aarch64-unknown-linux-gnu --verbose
102102

103103
- name: Archive executable
104-
working-directory: ./target/release
105-
run: tar czvf ../../highlights-linux-aarch64.tar.gz highlights
104+
working-directory: ./target/aarch64-unknown-linux-gnu/release
105+
run: tar czvf ../../../highlights-linux-aarch64.tar.gz highlights
106106

107107
- name: Create release
108108
uses: softprops/action-gh-release@v1

0 commit comments

Comments
 (0)