ci: --features flag, not --feature

This commit is contained in:
Cyborus 2024-08-07 20:40:22 -04:00
parent 96f72ee428
commit d3b7e4dace
No known key found for this signature in database

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: