From ae92ffdb9103a360d7a6bc05705acb2491c8317c Mon Sep 17 00:00:00 2001 From: Lars Buntemeyer Date: Mon, 27 Jan 2025 16:57:11 +0100 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index aa7e543..7227e3e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,19 +28,19 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 # Fetch all history for all branches and tags. + - name: Set environment variables run: | echo "CONDA_ENV_FILE=ci/requirements/environment.yml" >> $GITHUB_ENV echo "PYTHON_VERSION=${{ matrix.python-version }}" >> $GITHUB_ENV - + - name: Create conda environment - uses: mamba-org/provision-with-micromamba@main + uses: mamba-org/setup-micromamba@v2 with: cache-downloads: true - cache-downloads-key: "${{runner.os}}-${{runner.arch}}-py${{matrix.python-version}}-${{hashFiles(env.CONDA_ENV_FILE)}}" - micromamba-version: 'latest' + cache-downloads-key: "${{runner.os}}-${{runner.arch}}-py${{matrix.python-version}}" environment-file: ci/requirements/environment.yml - extra-specs: | + create-args: >- python=${{ matrix.python-version }} - name: Install xweights