Skip to content

update: migrate to turborepo & feat: tauri #1

update: migrate to turborepo & feat: tauri

update: migrate to turborepo & feat: tauri #1

Workflow file for this run

name: Auto Build App Artifacts
on:
push:
branches:
- main
paths:
- .github/workflows/build-app.yml
- 'apps/app/**'
- 'packages/commons/**'
- 'packages/configs/**'
pull_request:
branches:
- main
paths:
- .github/workflows/build-app.yml
- 'apps/app/**'
- 'packages/commons/**'
- 'packages/configs/**'
workflow_dispatch:
jobs:
build:
strategy:
fail-fast: false
matrix:
platform: [ macos-latest, windows-latest, ubuntu-22.04 ]
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Install PNPM
run: npm i -g pnpm
- name: Install dependencies
run: pnpm install --no-frozen-lockfile
- name: Build app
run: pnpm app:build
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.platform }}
path: |
target/*/release/bundle/*/*.dmg
target/*/release/bundle/*/*.app.tar.gz
target/*/release/bundle/*/*.app.tar.gz.sig
target/release/bundle/*/*.dmg
target/release/bundle/*/*.app.tar.gz
target/release/bundle/*/*.app.tar.gz.sig
target/release/bundle/*/*.AppImage
target/release/bundle/*/*.AppImage.tar.gz
target/release/bundle/*/*.AppImage.tar.gz.sig
target/release/bundle/*/*.deb
target/release/bundle/*/*.rpm
target/release/bundle/msi/*.msi
target/release/bundle/msi/*.msi.zip
target/release/bundle/msi/*.msi.zip.sig
target/release/bundle/nsis/*.exe
target/release/bundle/nsis/*.nsis.zip
target/release/bundle/nsis/*.nsis.zip.sig