From 11ca59eed9bed1731cdad342e46939d1c8e6e908 Mon Sep 17 00:00:00 2001 From: Abdelilah El Aissaoui Date: Fri, 14 Jul 2023 18:15:43 +0200 Subject: [PATCH] Changed rust order and specific rs dir --- .github/workflows/build_with_tests.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build_with_tests.yml b/.github/workflows/build_with_tests.yml index c5a9655..8fe1f6f 100644 --- a/.github/workflows/build_with_tests.yml +++ b/.github/workflows/build_with_tests.yml @@ -18,6 +18,15 @@ jobs: steps: - uses: actions/checkout@v3 + - uses: actions-rs/toolchain@v1 + with: + toolchain: stable + - uses: actions-rs/cargo@v1 + name: Rust build + with: + working-directory: ./rs + command: build + args: --release --features=uniffi/cli - name: Set up JDK 17 uses: actions/setup-java@v3 with: @@ -28,11 +37,4 @@ jobs: uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1 with: arguments: build - - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - - uses: actions-rs/cargo@v1 - with: - command: build - args: --release --features=uniffi/cli # TODO Add tests