back to caching

This commit is contained in:
Morgan 'ARR\!' Allen 2020-10-28 20:38:05 -07:00
parent 5b06702c18
commit f5e466d59d
1 changed files with 9 additions and 2 deletions

View File

@ -6,10 +6,11 @@ build:
image: espressif/idf:release-v4.1
stage: build
artifacts:
cache:
key: "$CI_BUILD_REF_NAME"
paths:
- sdkconfig
- build/
- build
script:
- if [ -f sdkconfig ]; then
@ -25,6 +26,12 @@ flash:
image: espressif/idf:release-v4.1
stage: flash
cache:
key: "$CI_BUILD_REF_NAME"
paths:
- sdkconfig
- build
script:
- cat sdkconfig
- idf.py flash