Create tflite from huggingface #20
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
name: Create tflite from huggingface | |
on: | |
push: | |
tags: | |
- "build-*" | |
workflow_dispatch: | |
inputs: | |
lang: | |
description: 'Built-in lang' | |
default: 'en' | |
type: string | |
model: | |
description: 'Huggingface model name' | |
default: 'openai/whisper-base' | |
type: string | |
permissions: | |
contents: read | |
jobs: | |
build: | |
uses: ./.github/workflows/build-steps.yml | |
with: | |
lang: ${{ inputs.lang }} | |
model: ${{ inputs.model }} | |
# i do not want to mess with atomatically created releases | |
# release: | |
# runs-on: ubuntu-latest | |
# needs: build | |
# if: startsWith(github.ref, 'refs/tags/v') | |
# steps: | |
# - name: Extract tag name | |
# id: extract_tag_name | |
# run: echo "TAG_NAME=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV | |
# | |
# - name: Create Release | |
# id: create_release | |
# uses: actions/create-release@v1 | |
# env: | |
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# with: | |
# tag_name: ${{ env.TAG_NAME }} | |
# release_name: Release ${{ env.TAG_NAME }} | |
# draft: false | |
# prerelease: false |