windows Release #80
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: windows Release | |
on: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: windows-latest | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
steps: | |
- name: Setup env | |
run: | | |
git config --global credential.helper store | |
git config --global user.email "[email protected]" | |
git config --global user.name "GitHub Actions" | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
with: | |
repository: vflam/nuxt-nr | |
submodules: true | |
token: ${{ secrets.GH_TOKEN }} | |
fetch-depth: 1 | |
- name: Install Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 20.11.0 | |
- name: Install dependencies | |
run: npm ci | |
- name: Build application | |
run: npm run build-electron | |
- name: Create release | |
run: node_modules/.bin/electron-builder --publish=always |