diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 66f5eb5..fd1f43e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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