All checks were successful
Validate Kaleido Desktop / validate (push) Successful in 1m23s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
44 lines
1.5 KiB
YAML
44 lines
1.5 KiB
YAML
name: Build Kaleido Desktop installers
|
|
# Started by hand (Actions, then this workflow, then Run). Each platform needs a runner
|
|
# with its label; without one the job would wait indefinitely, so this never runs on
|
|
# push. Releases can instead be built with scripts/build.ps1 and published with
|
|
# scripts/publish-release.mjs.
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build:
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
include:
|
|
- os: windows
|
|
runner: windows-latest
|
|
# - os: macos
|
|
# runner: macos-latest
|
|
# - os: linux
|
|
# runner: ubuntu-latest
|
|
runs-on: ${{ matrix.runner }}
|
|
timeout-minutes: 90
|
|
steps:
|
|
- uses: https://data.forgejo.org/actions/checkout@v4.4.0
|
|
- name: Build (Windows)
|
|
if: matrix.os == 'windows'
|
|
shell: pwsh
|
|
env:
|
|
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
|
|
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}
|
|
run: ./scripts/build.ps1
|
|
- name: Build (macOS / Linux)
|
|
if: matrix.os != 'windows'
|
|
env:
|
|
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
|
|
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}
|
|
run: |
|
|
sh scripts/fetch-libmpv.sh
|
|
npm ci
|
|
npx tauri build
|
|
- uses: https://data.forgejo.org/actions/upload-artifact@v4
|
|
with:
|
|
name: kaleido-${{ matrix.os }}
|
|
path: src-tauri/target/release/bundle/
|