Compare commits
3 commits
f93b8a43eb
...
9e4da661e6
Author | SHA1 | Date | |
---|---|---|---|
9e4da661e6 | |||
125c8df527 | |||
259d41d433 |
1 changed files with 5 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
||||||
on:
|
on:
|
||||||
release:
|
push:
|
||||||
types:
|
tags:
|
||||||
- created
|
- 'v*'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
docker:
|
docker:
|
||||||
|
@ -29,9 +29,9 @@ jobs:
|
||||||
- uses: actions/rust-toolchain@stable
|
- uses: actions/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
targets: "x86_64-unknown-linux-musl,aarch64-unknown-linux-musl"
|
targets: "x86_64-unknown-linux-musl,aarch64-unknown-linux-musl"
|
||||||
|
- run: apt-get update && apt-get install -y musl-tools
|
||||||
- run: cargo build --release --target x86_64-unknown-linux-musl
|
- run: cargo build --release --target x86_64-unknown-linux-musl
|
||||||
- run: cargo build --release --target aarch64-unknown-linux-musl
|
- run: mkdir _release && mv target/x86_64-unknown-linux-musl/release/fingerlink _release/fingerlink
|
||||||
- run: mkdir _release && mv target/x86_64-unknown-linux-musl/release/fingerlink _release/fingerlink-x86_64 && mv target/aarch64-unknown-linux-musl/release/fingerlink-arm64
|
|
||||||
- uses: actions/forgejo-release@v1
|
- uses: actions/forgejo-release@v1
|
||||||
with:
|
with:
|
||||||
direction: upload
|
direction: upload
|
||||||
|
|
Loading…
Reference in a new issue