Set TOOLS_VIRTUALENV_CACHE_SEED

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
Pedro Algarvio 2023-11-16 18:49:28 +00:00 committed by Pedro Algarvio
parent 4fc766bca8
commit a0127c04f7

View file

@ -37,6 +37,12 @@ runs:
with:
python-binary: python3
- name: Set `TOOLS_VIRTUALENV_CACHE_SEED`
shell: bash
run: |
TOOLS_VIRTUALENV_CACHE_SEED="${{ inputs.cache-prefix }}|${{ steps.get-python-version.outputs.version-sha256sum }}|${{ inputs.cache-suffix || '' }}"
echo "TOOLS_VIRTUALENV_CACHE_SEED=${TOOLS_VIRTUALENV_CACHE_SEED}" | tee -a "${GITHUB_ENV}"
- name: Restore Python Tools Virtualenvs Cache
uses: actions/cache@v3
with: