mirror of
https://github.com/WowUp/WowUp.git
synced 2026-05-19 03:54:44 -04:00
Update electron-build.yml
This commit is contained in:
23
.github/workflows/electron-build.yml
vendored
23
.github/workflows/electron-build.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user