[CI] cache west modules
All checks were successful
Build / Build (push) Successful in 5m59s

This commit is contained in:
Marius Alwan Meyer 2023-07-19 17:06:53 +02:00
parent 0e11f06ca7
commit 28757d7b26

View File

@ -18,6 +18,24 @@ jobs:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Cache west modules
uses: actions/cache@v3
env:
cache-name: cache-zephyr-modules
with:
path: |
modules/
tools/
zephyr/
bootloader/
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('app/west.yml') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
timeout-minutes: 2
continue-on-error: true
- name: West Init - name: West Init
run: west init -l config run: west init -l config