mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-27 23:01:21 +00:00
install cargo, git
This commit is contained in:
parent
45f356eed9
commit
28b76b2b06
1 changed files with 2 additions and 0 deletions
|
@ -114,6 +114,8 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
# reuse binstall from machete step
|
# reuse binstall from machete step
|
||||||
- ./cargo-binstall -y cargo-workspaces
|
- ./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"'
|
- 'echo "pub const VERSION: &str = \"$(git describe --tag)\";" > "crates/utils/src/version.rs"'
|
||||||
- cp -r migrations crates/db_schema/
|
- cp -r migrations crates/db_schema/
|
||||||
- cargo login "$CARGO_API_TOKEN"
|
- cargo login "$CARGO_API_TOKEN"
|
||||||
|
|
Loading…
Reference in a new issue