mirror of
https://codeberg.org/Cyborus/forgejo-cli.git
synced 2024-11-10 03:59:31 +01:00
ci: --features
flag, not --feature
This commit is contained in:
parent
96f72ee428
commit
d3b7e4dace
1 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@ steps:
|
||||||
image: rust:latest
|
image: rust:latest
|
||||||
commands:
|
commands:
|
||||||
- rustup target add x86_64-unknown-linux-gnu
|
- 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
|
- strip target/x86_64-unknown-linux-gnu/release/fj
|
||||||
secrets: [ client_info_codeberg ]
|
secrets: [ client_info_codeberg ]
|
||||||
compile-windows:
|
compile-windows:
|
||||||
|
@ -14,7 +14,7 @@ steps:
|
||||||
- rustup target add x86_64-pc-windows-gnu
|
- rustup target add x86_64-pc-windows-gnu
|
||||||
- apt update
|
- apt update
|
||||||
- apt install gcc-mingw-w64-x86-64 -y
|
- 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
|
- strip target/x86_64-pc-windows-gnu/release/fj.exe
|
||||||
secrets: [ client_info_codeberg ]
|
secrets: [ client_info_codeberg ]
|
||||||
zip:
|
zip:
|
||||||
|
|
Loading…
Reference in a new issue