install cargo, git

This commit is contained in:
Felix Ableitner 2023-12-20 11:52:05 +01:00
parent 45f356eed9
commit 28b76b2b06

View file

@ -114,6 +114,8 @@ steps:
commands:
# reuse binstall from machete step
- ./cargo-binstall -y cargo-workspaces
- apt update
- apt install --no-install-recommends --no-install-suggests --yes cargo git
- 'echo "pub const VERSION: &str = \"$(git describe --tag)\";" > "crates/utils/src/version.rs"'
- cp -r migrations crates/db_schema/
- cargo login "$CARGO_API_TOKEN"