fix: use python_env as guard for ESP-IDF install task
The tools directory can exist without the Python venv being created, causing install.sh to be skipped on re-runs. Check for python_env instead, which is the actual output we need. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -86,7 +86,7 @@
|
|||||||
export IDF_TOOLS_PATH="{{ gitea_runner_home }}/.espressif"
|
export IDF_TOOLS_PATH="{{ gitea_runner_home }}/.espressif"
|
||||||
{{ esp_idf_path }}/install.sh esp32
|
{{ esp_idf_path }}/install.sh esp32
|
||||||
args:
|
args:
|
||||||
creates: "{{ gitea_runner_home }}/.espressif/tools"
|
creates: "{{ gitea_runner_home }}/.espressif/python_env"
|
||||||
environment:
|
environment:
|
||||||
HOME: "{{ gitea_runner_home }}"
|
HOME: "{{ gitea_runner_home }}"
|
||||||
tags: gitea-actions
|
tags: gitea-actions
|
||||||
|
|||||||
Reference in New Issue
Block a user