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:
parent
9ac1bb3409
commit
abfc2735ba
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -37,7 +37,7 @@ jobs:
|
||||
- name: Get default environments
|
||||
id: envs
|
||||
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:
|
||||
environments: ${{ steps.envs.outputs.environments }}
|
||||
|
||||
@ -14,6 +14,10 @@ extra_configs =
|
||||
platformio_override.ini
|
||||
|
||||
[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
|
||||
platform = espressif32@6.3.1
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user