-
Notifications
You must be signed in to change notification settings - Fork 7
36 lines (32 loc) · 909 Bytes
/
build.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Build / Release
on:
# Trigger the workflow on push or pull request,
# but only for the main branch
push:
branches:
- main
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: "Install Node"
uses: actions/setup-node@v3
with:
node-version: "16"
corepack: true
- name: "Install Node Packages"
run: "yarn install"
#- name: "Rebuild for Electron"
# run: "npm run rebuild"
- name: "Build"
run: "yarn run buildpublish"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VITE_APP_MIXPANEL_PROJECT_TOKEN: ${{ secrets.MIXPANEL_PROJECT_TOKEN }}
VITE_SPELLCAST_URL: https://api.spellcast.gg/
VITE_SPELLCAST_SOCKET_URL: wss://api.spellcast.gg/