mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
use step and cache for python setup
This commit is contained in:
parent
ca0cba36c2
commit
7d27f0842b
7
.github/workflows/qc_checks.yaml
vendored
7
.github/workflows/qc_checks.yaml
vendored
@ -144,10 +144,13 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v2
|
||||
- name: Set up Python ${{ env.python_version }}
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: ${{ env.python_version }}
|
||||
cache: 'pip'
|
||||
- name: Install InvenTree
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install python3-dev python3-pip python3-venv
|
||||
pip3 install invoke
|
||||
invoke install
|
||||
invoke migrate
|
||||
|
Loading…
Reference in New Issue
Block a user