From 7149ef1584655308c5fc97d3b649b8926209e22f Mon Sep 17 00:00:00 2001 From: Florian Esser Date: Tue, 19 Nov 2024 16:05:24 +0100 Subject: [PATCH] Verify libuv path is accessable from other step --- .github/workflows/build-installer.yml | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-installer.yml b/.github/workflows/build-installer.yml index 5bd1e5ec..5994ecc1 100644 --- a/.github/workflows/build-installer.yml +++ b/.github/workflows/build-installer.yml @@ -1,4 +1,4 @@ -name: build installer +name: installer-build-${{ format('YYYY-MM-DD HH', github.event.timezone_offset) }} on: workflow_dispatch: @@ -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 @@ -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