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:
parent
3a66f9f248
commit
f7104fbb52
|
|
@ -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' }}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue