Skip to content

Commit

Permalink
Verify libuv path is accessable from other step
Browse files Browse the repository at this point in the history
  • Loading branch information
florianesser-tng committed Nov 19, 2024
1 parent 4cb441e commit 7149ef1
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion .github/workflows/build-installer.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build installer
name: installer-build-${{ format('YYYY-MM-DD HH', github.event.timezone_offset) }}

on:
workflow_dispatch:
Expand All @@ -23,6 +23,8 @@ jobs:
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
Expand All @@ -40,7 +42,24 @@ jobs:
run: npm install
working-directory: "WebUI"

- name: test
run: |
echo %$LIBUV_PATH%
dir %$LIBUV_PATH% -recurse -depth 2
- name: execute npm build
run: npm run fetch-build-resources
working-directory: "WebUI"

- uses: actions/upload-artifact@v4
with:
# Name of the artifact to upload.
# Optional. Default is 'artifact'
name: test
# A file, directory or wildcard pattern that describes what to upload
# Required.
path: path
if-no-files-found: error
retention-days: 10
compression-level: 0
overwrite: true

0 comments on commit 7149ef1

Please sign in to comment.