Compare commits

...

3 commits

Author SHA1 Message Date
9e4da661e6 apt-get requires -y
Some checks failed
/ docker build (push) Failing after 4s
/ raw artifact (push) Failing after 1m11s
/ cargo test (push) Successful in 22s
2024-03-18 01:40:11 +01:00
125c8df527 Don't forget MUSL tools which will definitely also completely explode when cross-compiling
Some checks failed
/ cargo test (push) Waiting to run
/ docker build (push) Failing after 3s
/ raw artifact (push) Has been cancelled
2024-03-18 01:38:54 +01:00
259d41d433 So this is how tags work
Some checks failed
/ raw artifact (push) Failing after 23s
/ docker build (push) Failing after 4s
/ cargo test (push) Successful in 22s
2024-03-18 01:35:51 +01:00

View file

@ -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