Merge pull request 'enable update checking in CI builds' (#81) from deploy-feature into main

Reviewed-on: https://codeberg.org/Cyborus/forgejo-cli/pulls/81
This commit is contained in:
Cyborus 2024-06-25 00:23:35 +00:00
commit e68408e321

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
- cargo build --target=x86_64-unknown-linux-gnu --release --feature 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
- cargo build --target=x86_64-pc-windows-gnu --release --feature update-check
- strip target/x86_64-pc-windows-gnu/release/fj.exe
secrets: [ client_info_codeberg ]
zip: