Skip to content

Commit

Permalink
GH Actions build fatJar before building Rust client.
Browse files Browse the repository at this point in the history
  • Loading branch information
renatoathaydes committed Apr 28, 2024
1 parent abf7b45 commit 6b5bd52
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 17
- uses: eskatos/gradle-command-action@v1
with:
arguments: fatJar
- uses: actions/upload-artifact@master
with:
name: fatjar
path: jgrab-runner/build/libs/jgrab.jar
- uses: taiki-e/create-gh-release-action@v1
with:
changelog: CHANGELOG.MD
Expand Down Expand Up @@ -43,6 +54,10 @@ jobs:
- uses: goto-bus-stop/setup-zig@v2
- name: Install cargo-zigbuild
run: cargo install cargo-zigbuild
- uses: actions/download-artifact@master
with:
name: fatjar
path: jgrab-runner/build/libs/jgrab.jar
- uses: taiki-e/upload-rust-binary-action@v1
with:
manifest-path: ./jgrab-client/Cargo.toml
Expand Down

0 comments on commit 6b5bd52

Please sign in to comment.