Skip to content

Release app

Release app #43

Workflow file for this run

# .github/workflows/release.yml
name: Release app
on:
workflow_dispatch:
permissions:
contents: write
jobs:
build:
strategy:
matrix:
os:
[
# { name: 'linux', image: 'ubuntu-latest' },
{ name: 'windows', image: 'windows-latest' },
# { name: 'macos-x64', image: 'macos-13' },
# { name: 'macos-arm64', image: 'macos-14' },
]
runs-on: ${{ matrix.os.image }}
steps:
- name: Github checkout
uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install WiX Toolset (Windows only)
if: matrix.os.name == 'windows'
run: |
choco install wixtoolset
echo "C:\Program Files (x86)\WiX Toolset v3.11\bin" >> $GITHUB_PATH
- run: yarn install --frozen-lockfile
- name: Publish app
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npm run publish