Cache pip modules
This commit is contained in:
@@ -39,12 +39,17 @@ jobs:
|
||||
- uses: actions/setup-python@v3
|
||||
with:
|
||||
python-version: "3"
|
||||
- uses: actions/cache@v3
|
||||
with:
|
||||
path: ~/.cache/pip
|
||||
key: python-pip
|
||||
- name: install dependencies
|
||||
shell: bash
|
||||
run: |
|
||||
set -e
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y unzip cloud-utils qemu-system-{x86,ppc}
|
||||
python3 -m pip install -U wheel
|
||||
python3 -m pip install -U ansible
|
||||
# Install packer.io
|
||||
curl -O https://releases.hashicorp.com/packer/${{ matrix.packer_version }}/packer_${{ matrix.packer_version }}_linux_amd64.zip
|
||||
|
||||
Reference in New Issue
Block a user