Skip to content

Commit

Permalink
build.yml: remove cached env if it appears invalid
Browse files Browse the repository at this point in the history
  • Loading branch information
tripleee committed Jun 16, 2022
1 parent e314af1 commit 409eb67
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Expand Up @@ -39,6 +39,8 @@ jobs:
env
- name: Install dependencies
run: |
# Invalidate cached env if it is linked to a nonexistent binary
./env/bin/python3 --version || rm -rf ./env
python3 -m venv env
source env/bin/activate
env/bin/pip3 install -U wheel
Expand Down

0 comments on commit 409eb67

Please sign in to comment.