Release Desktop app #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |