Commit f10e0202 authored by Nicholas Bollweg's avatar Nicholas Bollweg
Browse files

split pip(+wheel)/requirements.txt install for caching

parent 04350951
......@@ -7,7 +7,7 @@ on:
branches: '*'
env:
CACHE_EPOCH: 0
CACHE_EPOCH: 1
jobs:
build:
......@@ -39,6 +39,9 @@ jobs:
${{ env.CACHE_EPOCH }}-yarn-packages-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ env.CACHE_EPOCH }}-yarn-packages-
- name: Setup pip (pip)
run: |
pip install -U pip setuptools wheel
- uses: actions/cache@v2
with:
path: ~/.cache/pip
......@@ -46,9 +49,8 @@ jobs:
${{ env.CACHE_EPOCH }}-${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
restore-keys: |
${{ env.CACHE_EPOCH }}-${{ runner.os }}-pip-
- name: Setup
- name: Setup pip (dependecies)
run: |
pip install -U pip setuptools
pip install -r requirements.txt
- name: Install
if: steps.cache-node-modules.outputs.cache-hit != 'true'
......@@ -73,8 +75,6 @@ jobs:
needs: [build]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: actions/download-artifact@v2
with:
name: jupyterlite dist ${{ github.run_number }}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment