Merge pull request 'fix ci build features flag' (#108) from ci-flag-fix into main

Reviewed-on: https://codeberg.org/Cyborus/forgejo-cli/pulls/108
This commit is contained in:
Cyborus 2024-08-08 00:44:30 +00:00
commit e1d360c290

View file

@ -5,7 +5,7 @@ steps:
image: rust:latest
commands:
- rustup target add x86_64-unknown-linux-gnu
- cargo build --target=x86_64-unknown-linux-gnu --release --feature update-check
- cargo build --target=x86_64-unknown-linux-gnu --release --features update-check
- strip target/x86_64-unknown-linux-gnu/release/fj
secrets: [ client_info_codeberg ]
compile-windows:
@ -14,7 +14,7 @@ steps:
- rustup target add x86_64-pc-windows-gnu
- apt update
- apt install gcc-mingw-w64-x86-64 -y
- cargo build --target=x86_64-pc-windows-gnu --release --feature update-check
- cargo build --target=x86_64-pc-windows-gnu --release --features update-check
- strip target/x86_64-pc-windows-gnu/release/fj.exe
secrets: [ client_info_codeberg ]
zip: