mirror of
https://github.com/spacedriveapp/spacedrive
synced 2024-07-07 06:43:29 +00:00
38 lines
867 B
YAML
38 lines
867 B
YAML
|
name: Release
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
branches:
|
||
|
- main
|
||
|
workflow_dispatch:
|
||
|
|
||
|
jobs:
|
||
|
desktop-main:
|
||
|
name: Desktop - Main (${{ matrix.platform }})
|
||
|
runs-on: ${{ matrix.platform }}
|
||
|
strategy:
|
||
|
matrix:
|
||
|
platform: [ubuntu-latest, macos-latest, windows-latest]
|
||
|
steps:
|
||
|
- name: Checkout repository
|
||
|
uses: actions/checkout@v2
|
||
|
|
||
|
- name: Setup
|
||
|
uses: ./.github/actions/setup
|
||
|
|
||
|
- name: Install pnpm dependencies
|
||
|
run: pnpm i --frozen-lockfile
|
||
|
|
||
|
- name: Build
|
||
|
uses: tauri-apps/tauri-action@dev
|
||
|
env:
|
||
|
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
|
||
|
TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}
|
||
|
with:
|
||
|
projectPath: apps/desktop
|
||
|
|
||
|
- name: Publish Artifacts
|
||
|
uses: ./.github/actions/publish-artifacts
|
||
|
with:
|
||
|
profile: debug
|