From 13bcd20387f134996340d19be792c285d5b07af2 Mon Sep 17 00:00:00 2001 From: John Agapiou Date: Wed, 11 Sep 2024 17:43:34 +0100 Subject: [PATCH] Update action.yml --- .github/actions/setup/action.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index 091daeab..ebad2424 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -41,7 +41,7 @@ runs: uses: actions/cache/restore@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: path: venv - key: install-examples-${{ steps.setup.outputs.os-version }}-py${{ steps.setup.outputs.python-version }}-${{ hashFiles('setup.py') }}-${{ hashFiles( 'examples/requirements.txt') }} + key: install-examples-${{ steps.os-info.outputs.name }}-${{ steps.os-info.outputs.version }}-py${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('setup.py') }}-${{ hashFiles( 'examples/requirements.txt') }} - name: Restore Concordia installation if: steps.restore-examples.outputs.cache-hit != 'true' @@ -49,9 +49,9 @@ runs: uses: actions/cache/restore@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: path: venv - key: install-concordia-${{ steps.setup.outputs.os-version }}-py${{ steps.setup.outputs.python-version }}}-${{ hashFiles('setup.py') }} + key: install-concordia--${{ steps.os-info.outputs.name }}-${{ steps.os-info.outputs.version }}-py${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('setup.py') }} restore-keys: | - install-concordia-${{ steps.setup.outputs.os-version }}-py${{ steps.setup.outputs.python-version }}- + install-concordia--${{ steps.os-info.outputs.name }}-${{ steps.os-info.outputs.version }}-py${{ steps.setup-python.outputs.python-version }}- - name: Activate venv shell: bash