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 5731e82
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,18 @@ 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
if-no-files-found: error
- uses: taiki-e/create-gh-release-action@v1
with:
changelog: CHANGELOG.MD
Expand Down Expand Up @@ -43,6 +55,12 @@ 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
- name: Display structure of downloaded files
run: ls -R jgrab-runner/build
- uses: taiki-e/upload-rust-binary-action@v1
with:
manifest-path: ./jgrab-client/Cargo.toml
Expand Down

0 comments on commit 5731e82

Please sign in to comment.