Skip to content

Voice-to-text dictation app with local (Nvidia Parakeet/Whisper) and cloud models (BYOK). Privacy-first and available cross-platform.

ci: add GitHub Actions workflows for cross-platform builds and releases

Gabriel Stein8b5183ccda50
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
new file mode 100644
index 000000000..9571a958c
--- /dev/null
+++ b/.github/workflows/release.yml
@@ -0,0 +1,41 @@
+name: Release
+
+on:
+ push:
+ tags:
+ - 'v*'
+ workflow_dispatch:
+
+jobs:
+ release:
+ runs-on: ${{ matrix.os }}
+
+ strategy:
+ matrix:
+ os: [macos-latest, ubuntu-latest, windows-latest]
+
+ steps:
+ - uses: actions/checkout@v4
+
+ - name: Setup Node.js
+ uses: actions/setup-node@v4
+ with:
+ node-version: '20'
+ cache: 'npm'
+
+ - name: Install dependencies
+ run: npm ci
+
+ - name: Build and Release
+ env:
+ GH_TOKEN: ${{ secrets.GH_TOKEN }}
+ CSC_IDENTITY_AUTO_DISCOVERY: false
+ run: npm run dist -- --publish always
+
+ - name: Upload artifacts
+ uses: actions/upload-artifact@v4
+ if: always()
+ with:
+ name: ${{ matrix.os }}-release
+ path: dist/
+ retention-days: 7
\ No newline at end of file