danbev commited on
Commit
03b0716
·
unverified ·
1 Parent(s): ba2be5c

ci : add bindings-java jar artifact to release (#3126)

Browse files

This commit adds the jar artifact from bindings java to the release
process.

Files changed (1) hide show
  1. .github/workflows/build.yml +7 -2
.github/workflows/build.yml CHANGED
@@ -1120,11 +1120,16 @@ jobs:
1120
  chmod +x ./gradlew
1121
  ./gradlew build --info
1122
 
 
 
 
 
 
1123
  - name: Upload jar
1124
  uses: actions/upload-artifact@v4
1125
  with:
1126
- name: whispercpp.jar
1127
- path: bindings/java/build/libs/whispercpp-*.jar
1128
 
1129
  # - name: Publish package
1130
  # if: ${{ github.ref == 'refs/heads/master' }}
 
1120
  chmod +x ./gradlew
1121
  ./gradlew build --info
1122
 
1123
+ - name: Pack jar artifacts
1124
+ shell: pwsh
1125
+ run: |
1126
+ Compress-Archive -Path "bindings/java/build/libs/whispercpp-*.jar" -DestinationPath "whispercpp.jar.zip"
1127
+
1128
  - name: Upload jar
1129
  uses: actions/upload-artifact@v4
1130
  with:
1131
+ name: whispercpp.jar.zip
1132
+ path: whispercpp.jar.zip
1133
 
1134
  # - name: Publish package
1135
  # if: ${{ github.ref == 'refs/heads/master' }}