Skip to content

Commit

Permalink
fix miniforge env selection
Browse files Browse the repository at this point in the history
  • Loading branch information
florianesser-tng committed Nov 19, 2024
1 parent f560220 commit 4cb441e
Showing 1 changed file with 18 additions and 26 deletions.
44 changes: 18 additions & 26 deletions .github/workflows/build-installer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,19 @@ jobs:
- 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
- name: Cache npm modules
uses: actions/cache@v3
id: npm-cache
Expand All @@ -23,32 +36,11 @@ jobs:
with:
node-version: '20'

- uses: conda-incubator/setup-miniconda@v3
with:
auto-activate-base: true
python-version: "3.11"
miniforge-version: latest

- name: Install libuv dependency with Miniforge
run: |
conda create -n cp311_libuv python=3.11 libuv -y
conda env list
conda env list | findstr cp311_libuv
- name: pwd
run: |
pwd
- name: pwd
- name: setup npm project
run: npm install
working-directory: "WebUI"
run: |
pwd

- name: pwd
run: |
pwd
- name: Install dependencies
run: npm install
- name: execute npm build
run: npm run fetch-build-resources
working-directory: "WebUI"

0 comments on commit 4cb441e

Please sign in to comment.