fix(ci): specify new rust crates path

This commit is contained in:
alyssa 2025-01-02 02:45:27 +00:00
parent cb5b9fde8b
commit c998a66a46
2 changed files with 3 additions and 7 deletions

View file

@ -3,12 +3,10 @@
# Include project code and build files
!PluralKit.*/
!services/
!lib/
!Myriad/
!.git
!proto
!dashboard
!crates/
!Cargo.toml
!Cargo.lock
@ -25,4 +23,4 @@
**/node_modules
# don't clear docker cache when updating dockerfiles
Dockerfile
Dockerfile

View file

@ -23,9 +23,7 @@ RUN cargo chef cook --release --recipe-path recipe.json --target x86_64-unknown-
COPY Cargo.toml /build/
COPY Cargo.lock /build/
# this needs to match workspaces in Cargo.toml
COPY lib /build/lib
COPY services/ /build/services
COPY crates/ /build/crates
RUN cargo build --bin api --release --target x86_64-unknown-linux-musl
RUN cargo build --bin dispatch --release --target x86_64-unknown-linux-musl