Skip to content

Update README.md

Update README.md #109

name: Build Electron app
on:
push:
branches:
- master
paths-ignore:
- packages/functions/**
- packages/web/**
jobs:
build_on_win:
runs-on: windows-latest
steps:
- uses: actions/checkout@master
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: "14.x"
# - name: Cache node modules
# uses: actions/cache@v3
# env:
# cache-name: cache-node-modules-v1
# with:
# path: |
# node_modules
# */*/node_modules
# key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('yarn.lock') }}
# restore-keys: |
# ${{ runner.os }}-build-${{ env.cache-name }}-
- name: Install dependencies
run: yarn install
- name: Build
run: yarn app make
- name: Upload the build
uses: actions/upload-artifact@v2
with:
name: coh2-game-stats-dev-${{github.sha}}
path: |
packages/app/out/make/squirrel.windows/x64/*.exe