Skip to content

Commit

Permalink
matrix compile
Browse files Browse the repository at this point in the history
  • Loading branch information
netmindz committed Mar 4, 2024
1 parent 0fb191f commit 2da726a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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:
Expand Down

0 comments on commit 2da726a

Please sign in to comment.