fix(ci): fixing workflows and caching

This commit is contained in:
Jérome Eertmans
2022-10-31 15:21:58 +01:00
parent 422e355758
commit b1a8768963
2 changed files with 7 additions and 1 deletions

View File

@ -30,10 +30,15 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
cache: 'pip'
- name: Setup Pages
uses: actions/configure-pages@v2
- name: Install Linux Dependencies
run: sudo apt install libcairo2-dev libpango1.0-dev ffmpeg
run: sudo apt install libcairo2-dev libpango1.0-dev ffmpeg libgl1
- name: Install Python dependencies
run: pip install manim sphinx sphinx_click furo
- name: Install local Python package

View File

@ -47,6 +47,7 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.pyversion }}
cache: 'pip'
- name: Append to Path on MacOS and Ubuntu
if: matrix.os == 'macos-latest' || matrix.os == 'ubuntu-latest'
run: echo "${HOME}/.local/bin" >> $GITHUB_PATH