diff --git a/.github/workflows/build_workflow.yml b/.github/workflows/build_workflow.yml index 57650912..b9b7640c 100644 --- a/.github/workflows/build_workflow.yml +++ b/.github/workflows/build_workflow.yml @@ -44,7 +44,7 @@ jobs: # Increase this value to reset cache if dev-spec and setup.py have not changed in the workflow CACHE_NUMBER: 0 with: - path: ~/conda_pkgs_dir + path: ~/conda_pkgs_dir_py${{ matrix.python-version }} key: ${{ runner.os }}-${{ matrix.python-version }}-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles('conda_package/dev-spec.txt,conda_package/setup.py') }} diff --git a/.github/workflows/docs_workflow.yml b/.github/workflows/docs_workflow.yml index a060fc2c..9a00f968 100644 --- a/.github/workflows/docs_workflow.yml +++ b/.github/workflows/docs_workflow.yml @@ -8,6 +8,9 @@ on: release: types: [published] +env: + PYTHON_VERSION: "3.10" + jobs: publish-docs: runs-on: ubuntu-latest @@ -40,7 +43,7 @@ jobs: channels: conda-forge channel-priority: strict auto-update-conda: true - python-version: ${{ matrix.python-version }} + python-version: ${{ env.PYTHON_VERSION }} - if: ${{ steps.skip_check.outputs.should_skip != 'true' }} name: Install mpas_tools