Skip to content

Commit

Permalink
revert: "ci: enable cache for matplotlib"
Browse files Browse the repository at this point in the history
This reverts commit fb26ad5.
  • Loading branch information
Zxilly committed Jul 6, 2024
1 parent fb26ad5 commit e5dfda7
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions .github/actions/setup-script/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,19 +45,10 @@ runs:
key: testbins-${{ hashFiles('scripts/binaries.csv') }}-${{ inputs.cache }}-v2
enableCrossOsArchive: true

- name: Cache matplotlib
if: ${{ inputs.cache != '' && inputs.report == 'true' }}
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
with:
path: ./scripts/.cache/matplotlib
key: matplotlib-${{ hashFiles('scripts/requirements.txt') }}-${{ runner.os }}

- name: Run script
shell: bash
working-directory: ./scripts
run: poetry run python ${{ inputs.script }}
env:
MPLCONFIGDIR: ./scripts/.cache/matplotlib

- name: Report results
if: ${{ inputs.report == 'true' }}
Expand Down

0 comments on commit e5dfda7

Please sign in to comment.