diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 51cf1f96..98848ff3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -390,6 +390,32 @@ jobs: name: library-${{ matrix.target }} path: target/${{ matrix.target }}/release/libaries_askar.a + build-jvm: + name: Build library (JVM) + needs: [checks] + + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Install Rust toolchain + uses: dtolnay/rust-toolchain@master + with: + toolchain: ${{ env.RUST_VERSION }} + + - name: Cache cargo resources + uses: Swatinem/rust-cache@v2 + with: + shared-key: deps + save-if: false + + -name: Publish jvm kotlin + working-directory: wrappers/kotlin + run: | + ./gradlew publishAllPublicationsToGithubRepository + build-android: name: Build library (Android) needs: [checks]