ci : add bindings-java jar artifact to release

This commit adds the jar artifact from bindings java to the release
process.
This commit is contained in:
Daniel Bevenius 2025-05-07 13:12:26 +02:00
parent 3a66f9f248
commit f7104fbb52
1 changed files with 7 additions and 2 deletions

View File

@ -1120,11 +1120,16 @@ jobs:
chmod +x ./gradlew chmod +x ./gradlew
./gradlew build --info ./gradlew build --info
- name: Pack jar artifacts
shell: pwsh
run: |
Compress-Archive -Path "bindings/java/build/libs/whispercpp-*.jar" -DestinationPath "whispercpp.jar.zip"
- name: Upload jar - name: Upload jar
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: whispercpp.jar name: whispercpp.jar.zip
path: bindings/java/build/libs/whispercpp-*.jar path: whispercpp.jar.zip
# - name: Publish package # - name: Publish package
# if: ${{ github.ref == 'refs/heads/master' }} # if: ${{ github.ref == 'refs/heads/master' }}