Skip to content

Commit 0676b2d

Browse files
authored
ci : add bindings-java jar artifact to release (#3126)
This commit adds the jar artifact from bindings java to the release process.
1 parent 4a512cb commit 0676b2d

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1120,11 +1120,16 @@ jobs:
11201120
chmod +x ./gradlew
11211121
./gradlew build --info
11221122
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+
11231128
- name: Upload jar
11241129
uses: actions/upload-artifact@v4
11251130
with:
1126-
name: whispercpp.jar
1127-
path: bindings/java/build/libs/whispercpp-*.jar
1131+
name: whispercpp.jar.zip
1132+
path: whispercpp.jar.zip
11281133

11291134
# - name: Publish package
11301135
# if: ${{ github.ref == 'refs/heads/master' }}

0 commit comments

Comments
 (0)