diff --git a/.github/actions/initial_setup/action.yml b/.github/actions/initial_setup/action.yml index 03163f1..2984b64 100644 --- a/.github/actions/initial_setup/action.yml +++ b/.github/actions/initial_setup/action.yml @@ -34,7 +34,11 @@ runs: CACHE_NUMBER: 0 with: path: ${{ env.CONDA }}/envs - key: conda-${{ inputs.conda_env }}-${{ hashFiles('tests/conda-envs/' + inputs.conda_env + '.yaml') }}-${{ steps.get-date.outputs.today }}-${{ env.CACHE_NUMBER }} + key: >- + conda-${{ inputs.conda_env }}- + ${{ hashFiles(format('tests/conda-envs/{0}.yaml', inputs.conda_env)) }}- + ${{ steps.get-date.outputs.today }}- + ${{ env.CACHE_NUMBER }} - name: Update conda env if: steps.conda-cache.outputs.cache-hit != 'true'