spacedrive/.github/workflows/release.yml

38 lines
867 B
YAML
Raw Normal View History

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