mirror of
https://hub.gitmirror.com/https://github.com/ExamAware/ExamShowboard-Legacy.git
synced 2025-04-29 06:46:35 +00:00
chore: Github Actions
This commit is contained in:
parent
1e787c93fb
commit
3dbf912ea4
32
.github/actions/build.yaml
vendored
Normal file
32
.github/actions/build.yaml
vendored
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
name: Build and Package Electron App
|
||||||
|
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: windows-latest
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
node-version: [20.x]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Set up Node.js
|
||||||
|
uses: actions/setup-node@v3
|
||||||
|
with:
|
||||||
|
node-version: ${{ matrix.node-version }}
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: yarn install
|
||||||
|
|
||||||
|
- name: Build and package for Windows
|
||||||
|
run: yarn build:win
|
||||||
|
|
||||||
|
- name: Upload artifact
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: ExamShowboard-Windows
|
||||||
|
path: dist/*.exe
|
Loading…
x
Reference in New Issue
Block a user