Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add invalidate-cache flag #6949

Merged
merged 1 commit into from
Jun 27, 2022
Merged

Conversation

drew2a
Copy link
Contributor

@drew2a drew2a commented Jun 24, 2022

This feature was requested by @xoriole in #6923

  1. I forked and changed the restore-virtualenv action syphar/restore-virtualenv@091a22a
  2. I added invalidate-cache flag to the venv action

So, if you need to "refresh" the cache, you can run the pyenv action with invalidate-cache: true just once and the cache for this branch will be recreated.

      - name: Create python environment
        uses: ./.github/actions/pyenv
        with:
          python-version: ${{inputs.python-version}}
          requirements: requirements-test.txt
          invalidate-cache: true

Ref:

@drew2a drew2a changed the title Add invalidate flag Add invalidate-cache flag Jun 24, 2022
@drew2a drew2a marked this pull request as ready for review June 24, 2022 16:05
@drew2a drew2a requested review from a team, kozlovsky and xoriole and removed request for a team June 24, 2022 16:05
@drew2a drew2a merged commit 77abcb1 into Tribler:main Jun 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants