Skip to content

Commit

Permalink
remove pip cache and fix virtual cache key typo
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 595647529
Change-Id: I22ff4a23a80a5f0512705dc3ea3e564facd74013
  • Loading branch information
jagapiou authored and copybara-github committed Jan 4, 2024
1 parent 7be2780 commit a370989
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/actions/install-meltingpot/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@ runs:
- name: Set up Python ${{ inputs.python-version }}
id: setup-python
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1
with:
python-version: ${{ inputs.python-version }}
cache: 'pip'
cache-dependency-path: setup.py

- name: Restore Melting Pot installation
id: restore
Expand All @@ -39,9 +35,9 @@ runs:
path: |
meltingpot/assets
venv
key: install-meltingpot-${{ steps.os-info.outputs.name }}-${{ steps.os-info.outputs.version }}-py${{ steps.os-info.outputs.version }}-py${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('setup.py') }}
key: install-meltingpot-${{ steps.os-info.outputs.name }}-${{ steps.os-info.outputs.version }}-py${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('setup.py') }}
restore-keys: |
install-meltingpot-${{ steps.os-info.outputs.name }}-${{ steps.os-info.outputs.version }}-py${{ steps.os-info.outputs.version }}-py${{ steps.setup-python.outputs.python-version }}-
install-meltingpot-${{ steps.os-info.outputs.name }}-${{ steps.os-info.outputs.version }}-py${{ steps.setup-python.outputs.python-version }}-
- name: Install Melting Pot
if: steps.restore.outputs.cache-hit != 'true'
Expand Down

0 comments on commit a370989

Please sign in to comment.