-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(ci): configure for Whisper WebGPU
- Loading branch information
1 parent
4faf4d7
commit 756d140
Showing
3 changed files
with
44 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,21 @@ jobs: | |
HF_TOKEN: ${{ secrets.HF_TOKEN }} | ||
HF_USERNAME: ${{ secrets.HF_USERNAME }} | ||
- run: |- | ||
git clone https://$HF_USERNAME:[email protected]/spaces/moeru-ai/whisper-webgpu-vue --depth 1 packages/whisper-webgpu/dist | ||
env: | ||
HF_TOKEN: ${{ secrets.HF_TOKEN }} | ||
HF_USERNAME: ${{ secrets.HF_USERNAME }} | ||
- uses: pnpm/action-setup@v3 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: lts/* | ||
cache: pnpm | ||
|
||
- run: pnpm install | ||
- run: pnpm build | ||
|
||
- uses: pnpm/action-setup@v3 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
|
@@ -41,3 +56,16 @@ jobs: | |
git config --local user.name "Neko Ayaka" | ||
git commit -m "release: build ${{ github.sha }}" | ||
git push -f | ||
- name: Push to hub | ||
working-directory: ./packages/whisper-webgpu/dist | ||
env: | ||
HF_TOKEN: ${{ secrets.HF_TOKEN }} | ||
HF_USERNAME: ${{ secrets.HF_USERNAME }} | ||
run: |- | ||
mv ../README.md . | ||
git add . | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "Neko Ayaka" | ||
git commit -m "release: build ${{ github.sha }}" | ||
git push -f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters