mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Set TOOLS_VIRTUALENV_CACHE_SEED
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
parent
4fc766bca8
commit
a0127c04f7
1 changed files with 6 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue