Skip to content

Commit

Permalink
Updates build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
oluiscabral committed Nov 1, 2024
1 parent b5cd514 commit 6a63870
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Install required global dependencies
run: |
sudo apt-get update
sudo apt-get install libssl-dev
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
Expand Down Expand Up @@ -55,13 +60,7 @@ jobs:
run: gradle test
working-directory: ./java

- name: Publish Java release
run: gradle publish
working-directory: ./java
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# Release fs-storage NDK binaries
# Upload fs-storage JNI libs
- name: Install cargo-ndk
run: cargo install cargo-ndk

Expand All @@ -77,8 +76,15 @@ jobs:
- name: Upload fs-storage
uses: actions/upload-artifact@v4
with:
name: fs-storage
name: fs-storage-jni-libs
path: ./target/release/fs-storage/jniLibs
# ---

- name: Publish Java release
run: gradle publish
working-directory: ./java
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

windows:
name: Test on Windows
Expand Down

0 comments on commit 6a63870

Please sign in to comment.