-
-
Notifications
You must be signed in to change notification settings - Fork 3
50 lines (41 loc) · 1.08 KB
/
ci.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
37
38
39
40
41
42
43
44
45
46
47
48
49
name: Build Artifact
on:
push:
branches:
- develop
- release
workflow_dispatch:
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set Github Token
shell: bash
run: echo "GH_TOKEN=${{ secrets.GITHUB_TOKEN }}" >> $GITHUB_ENV
- name: Get Seonglae Key
shell: bash
run: |
echo "${{ secrets.PFX }}" | base64 --decode > Seonglae.pfx
echo "${{ secrets.ENV }}" > .env
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 14.x
- name: Cache node modules
uses: actions/cache@v3
with:
path: |
**/node_modules
key: ${{ runner.OS }}-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.OS }}-build-
${{ runner.OS }}-
- name: Install npm dependencies
run: yarn
- name: Run build task
shell: bash
run: |
yarn build
ln build/Intuiter*.exe Intuiter.exe