diff --git a/.github/workflows/pio.yml b/.github/workflows/pio.yml index a0289862..e4c2d041 100644 --- a/.github/workflows/pio.yml +++ b/.github/workflows/pio.yml @@ -23,7 +23,7 @@ jobs: - name: Get default environments id: envs run: | - echo "environments=$(pio project config --json-output | jq -cr '.[][0]' | grep 'env:'| awk -F: '{ print $2" "}' | tr -d '\n')" >> $GITHUB_OUTPUT + echo "environments=\"$(pio project config --json-output | jq -cr '.[][0]' | grep 'env:'| awk -F: '{ print $2" "}' | tr -d '\n')\"" >> $GITHUB_OUTPUT cat $GITHUB_OUTPUT outputs: environments: ${{ steps.envs.outputs.environments }} @@ -34,7 +34,7 @@ jobs: strategy: fail-fast: false matrix: - environment: ${{ fromJSON(needs.get_default_envs.outputs.environments) }} + environment: ${{ needs.get_default_envs.outputs.environments }} steps: - uses: actions/checkout@v3 with: