Skip to content

Commit

Permalink
Modify build.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Darko Kulic <[email protected]>
  • Loading branch information
dkulic committed Dec 6, 2023
1 parent 829458f commit f791ab9
Showing 1 changed file with 28 additions and 2 deletions.
30 changes: 28 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ concurrency:

on:
push:
branches: [main]
branches:
- '**'
pull_request:
branches: [main]
branches:
- '**'
release:
types: [created]
workflow_dispatch:
Expand Down Expand Up @@ -390,6 +392,30 @@ 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: actions-rs/toolchain@v1
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]
Expand Down

0 comments on commit f791ab9

Please sign in to comment.