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