Skip to content

Merge pull request #2 from edgenai/chore/improve_audio_transcriptions… #7

Merge pull request #2 from edgenai/chore/improve_audio_transcriptions…

Merge pull request #2 from edgenai/chore/improve_audio_transcriptions… #7

Workflow file for this run

name: "release"
on:
push:
branches:
- main
# This is the example from the readme.
# On each push to the `main` branch it will create or update a GitHub release, build your app, and upload the artifacts to the release.
jobs:
release:
permissions:
contents: write
strategy:
fail-fast: false
matrix:
platform: [macos-latest, ubuntu-20.04, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: "Setup actions/checkout"
uses: actions/checkout@v4
- name: "Setup rust"
uses: actions-rust-lang/setup-rust-toolchain@v1
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 8
run_install: false
# setup dependencies that Nix can't handle (https://github.com/tauri-apps/tauri/issues/8535)
- name: install dependencies (ubuntu only)
if: matrix.platform == 'ubuntu-20.04'
run: |
sudo apt-get update
sudo apt-get install -y build-essential curl wget file libssl-dev libgtk-3-dev libwebkit2gtk-4.0-dev libayatana-appindicator3-dev librsvg2-dev patchelf
- name: Install GUI frontend dependencies
run: cd edgen && pnpm install # change this to npm or pnpm depending on which one you use
- uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_KEY }}
TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}
with:
tagName: v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version
releaseName: "v__VERSION__"
releaseBody: "See the assets to download this version and install."
releaseDraft: true
prerelease: false
projectPath: ./edgen