From 108cdbfde87b0a498ad158953cb4b9d2bb1a4a5f Mon Sep 17 00:00:00 2001 From: Gunnar Skjold Date: Fri, 22 Nov 2019 20:01:20 +0100 Subject: [PATCH] Added cache --- .github/workflows/build.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 48716deb..2a6a2350 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,7 +14,18 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - name: Check out code from repo + uses: actions/checkout@v1 + - name: Cache Python dependencies + uses: actions/cache@v1 + with: + path: ~/.cache/pip + key: ${{ runner.os }}-pip-${{ hashFiles('platformio.ini') }} + - name: Cache PlatformIO dependencies + uses: actions/cache@v1 + with: + path: ~/.pio/libdeps + key: ${{ runner.os }}-pio-${{ hashFiles('platformio.ini') }} - name: Set up Python 3.7 uses: actions/setup-python@v1 with: