forked from intel/AI-Playground
-
Notifications
You must be signed in to change notification settings - Fork 0
51 lines (40 loc) · 1.21 KB
/
build-installer.yml
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
50
name: build installer
run-name: installer-build-${{ format('YYYY-MM-DD HH', github.event.timezone_offset) }}
on:
workflow_dispatch:
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: setup miniforge
uses: conda-incubator/setup-miniconda@v3
with:
miniforge-version: latest
python-version: "3.11"
activate-environment: 'cp311_libuv'
- name: Install libuv dependency
run: |
conda install -y libuv
conda env list
conda env list | findstr libuv
ls C:\Users\runneradmin\miniconda3\envs\cp311_libuv
echo "LIBUV_PATH=$(conda env list | findstr libuv)" >> %GITHUB_ENV%
- name: Cache npm modules
uses: actions/cache@v3
id: npm-cache
with:
path: ~/.npm
key: ${{ runner.os }}-npm
- name: Install Node.js and npm
uses: actions/setup-node@v3
with:
node-version: '20'
- name: setup npm project
run: npm install
working-directory: "WebUI"
- name: test
run: |
echo %LIBUV_PATH%
dir %LIBUV_PATH%/Lib -recurse -depth 2