diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ae110bb..02c60bf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 @@ -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