Skip to content

3.0.0-alpha.2

3.0.0-alpha.2 #12

Workflow file for this run

name: Package Release
on:
release:
types:
- published
workflow_dispatch:
jobs:
build:
uses: ./.github/workflows/build-steps.yml
package:
needs: build
runs-on: ubuntu-latest
steps:
- name: Download artifacts
uses: actions/download-artifact@v3
with:
name: whisper.tflite
path: artefacts
- name: zip
run: |
cd artefacts
ls -la
zip whisper.tflite-${{ github.event.release.tag_name }}.zip *
- name: Upload release package
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ./artefacts/whisper.tflite-${{ github.event.release.tag_name }}.zip
asset_name: whisper.tflite-${{ github.event.release.tag_name }}.zip
asset_content_type: application/zip