Skip to content

Release Desktop app

Release Desktop app #2

name: Release Desktop app
on:
workflow_dispatch:
jobs:
build:
strategy:
matrix:
os:
[
{ name: "linux", image: "ubuntu-latest" },
{ name: "windows", image: "windows-latest" },
{ name: "macos", image: "macos-latest" },
]
runs-on: ${{ matrix.os.image }}
defaults:
run:
working-directory: ./desktop
steps:
- name: Github checkout
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: "yarn" # This will automatically install and cache Yarn
- name: Install dependencies
run: yarn install --frozen-lockfile # (npm ci)
- name: Publish app
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
run: yarn run publish