Skip to content

Commit

Permalink
Update java in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
csukuangfj committed Jan 23, 2024
1 parent a65d8fb commit 63d1d6c
Showing 1 changed file with 15 additions and 10 deletions.
25 changes: 15 additions & 10 deletions .github/workflows/apk-speaker-identification.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
push:
branches:
- apk
- android-speaker-recognition-2
tags:
- '*'

Expand Down Expand Up @@ -34,6 +33,12 @@ jobs:
with:
fetch-depth: 0

# https://github.com/actions/setup-java
- uses: actions/setup-java@v4
with:
distribution: 'temurin' # See 'Supported distributions' for available options
java-version: '21'

- name: ccache
uses: hendrikmuhs/[email protected]
with:
Expand Down Expand Up @@ -79,15 +84,15 @@ jobs:
ls -lh ./apks/
du -h -d1 .
- name: Release
uses: svenstaro/upload-release-action@v2
with:
file_glob: true
file: ./apks/*.apk
overwrite: true
repo_name: k2-fsa/sherpa-onnx
repo_token: ${{ secrets.UPLOAD_GH_SHERPA_ONNX_TOKEN }}
tag: speaker-recongition-models
# - name: Release
# uses: svenstaro/upload-release-action@v2
# with:
# file_glob: true
# file: ./apks/*.apk
# overwrite: true
# repo_name: k2-fsa/sherpa-onnx
# repo_token: ${{ secrets.UPLOAD_GH_SHERPA_ONNX_TOKEN }}
# tag: speaker-recongition-models

- name: Publish to huggingface
if: true
Expand Down

0 comments on commit 63d1d6c

Please sign in to comment.