diff --git a/.github/workflows/ci-tests-lock.yml b/.github/workflows/ci-tests-lock.yml index 35045a02..c21c5ec7 100644 --- a/.github/workflows/ci-tests-lock.yml +++ b/.github/workflows/ci-tests-lock.yml @@ -40,6 +40,10 @@ jobs: with: fetch-depth: 0 + - uses: actions/setup-python@v5 + with: + python-version: '3.x' + - name: "environment configure" env: # Maximum cache period (in weeks) before forcing a cache refresh. @@ -54,8 +58,9 @@ jobs: env: VTK_BUILD: " - vtk=*=qt_*" run: | + python -m pip install conda-lock python -c 'open("geovista.yml", "a").write("\n - python =${{ env.PY_MAJOR }}.${{ env.PY_MINOR }}\n${{ env.VTK_BUILD }}\n")' - pipx run conda-lock --channel conda-forge --kind explicit --file geovista.yml --platform linux-64 + conda-lock --channel conda-forge --kind explicit --file geovista.yml --platform linux-64 - name: "upload lock artifact" uses: actions/upload-artifact@v4