Update electron-build.yml

This commit is contained in:
jliddev
2020-11-22 23:45:45 -06:00
parent 3fa7ff1e5b
commit 6bfaa2872f

View File

@@ -2,8 +2,8 @@ name: Build WowUp Electron
on:
- push
# create:
# tags:
# - v*
# tags:
# - v*
jobs:
create-release:
@@ -22,27 +22,36 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
node-version: [ 14.x ]
node-version: [14.x]
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install Angular CLI
run: npm install -g @angular/cli
- name: Build App
- name: Build Linux App
if: matrix.os == 'ubuntu-latest'
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
run: |
cd ./wowup-electron
npm i
- name: Build Windows App
if: matrix.os == 'windows-latest'
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
CSC_LINK: ${{ secrets.WINDOWS_CSC_LINK }}
CSC_KEY_PASSWORD: ${{ secrets.WINDOWS_CSC_KEY_PASSWORD }}
run: |
cd ./wowup-electron
npm i