Add separate property to platformio.ini to control the environments built by github actions

This is now independent of the default_envs which also affects local development
This commit is contained in:
Thomas Basler 2023-06-08 22:48:04 +02:00
parent 9ac1bb3409
commit abfc2735ba
2 changed files with 5 additions and 1 deletions

View File

@ -37,7 +37,7 @@ jobs:
- name: Get default environments - name: Get default environments
id: envs id: envs
run: | run: |
echo "environments=$(pio project config --json-output | jq -cr '.[0][1][0][1]')" >> $GITHUB_OUTPUT echo "environments=$(pio project config --json-output | jq -cr '.[1][1][0][1]|split(",")')" >> $GITHUB_OUTPUT
outputs: outputs:
environments: ${{ steps.envs.outputs.environments }} environments: ${{ steps.envs.outputs.environments }}

View File

@ -14,6 +14,10 @@ extra_configs =
platformio_override.ini platformio_override.ini
[env] [env]
; Make sure to NOT add any spaces in the custom_ci_action property
; (also the position in the file is important)
custom_ci_action = generic
framework = arduino framework = arduino
platform = espressif32@6.3.1 platform = espressif32@6.3.1