mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-05-10 04:23:15 +00:00
ci : add bindings-java jar artifact to release (#3126)
This commit adds the jar artifact from bindings java to the release process.
This commit is contained in:
parent
4a512cb153
commit
0676b2dab2
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
@ -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…
x
Reference in New Issue
Block a user