]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
ci : add bindings-java jar artifact to release (#3126)
authorDaniel Bevenius <redacted>
Wed, 7 May 2025 14:26:54 +0000 (16:26 +0200)
committerGitHub <redacted>
Wed, 7 May 2025 14:26:54 +0000 (16:26 +0200)
This commit adds the jar artifact from bindings java to the release
process.

.github/workflows/build.yml

index 50e263a565c4f65158fac7542385ac6e2b77ac7e..7e8d461f0770c9b455b009f8c997c831f67fafbe 100644 (file)
@@ -1120,11 +1120,16 @@ jobs:
           chmod +x ./gradlew
           ./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
         uses: actions/upload-artifact@v4
         with:
-          name: whispercpp.jar
-          path: bindings/java/build/libs/whispercpp-*.jar
+          name: whispercpp.jar.zip
+          path: whispercpp.jar.zip
 
 #      - name: Publish package
 #        if: ${{ github.ref == 'refs/heads/master' }}