ci: finalize release workflow for app-only macOS artifacts #1
Workflow file for this run
This file contains hidden or 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: Release | |
| on: | |
| push: | |
| tags: | |
| - "v*.*.*" | |
| permissions: | |
| contents: write | |
| jobs: | |
| build-and-release: | |
| runs-on: macos-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: npm | |
| - name: Setup Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| - name: Install frontend dependencies | |
| run: npm ci | |
| - name: Build and publish GitHub release | |
| uses: tauri-apps/tauri-action@v0 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| tagName: ${{ github.ref_name }} | |
| releaseName: OpenSpeak ${{ github.ref_name }} | |
| releaseBody: | | |
| OpenSpeak release ${{ github.ref_name }}. | |
| Download the macOS `.app.tar.gz` asset from this release. | |
| Unzip it and move `OpenSpeak.app` into `/Applications`. | |
| This build is unsigned and not notarized. | |
| releaseDraft: false | |
| prerelease: ${{ contains(github.ref_name, '-') }} |