Workflow file for this run
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: Build and Release Electron App | |
on: | |
push: | |
tags: | |
- 'v*' | |
env: | |
GH_TOKEN: ${{ github.token }} | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- name: 🛎️ Checkout repository | |
uses: actions/checkout@v3 | |
- name: ⚙️ Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
- name: 📦 Install dependencies | |
run: npm install | |
- name: 🛠️ Build TypeScript sources | |
run: npm run build | |
- name: 📦 Package Electron app for Windows | |
run: npm run build:winGit | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |