2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-15 03:25:42 +00:00

use step and cache for python setup

This commit is contained in:
Matthias
2022-05-27 20:12:31 +02:00
parent ca0cba36c2
commit 7d27f0842b

View File

@ -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