Skip to content

Commit

Permalink
revert to using env
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmades committed Jul 15, 2024
1 parent 30b0ffb commit b04ab33
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/run-workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,20 @@ jobs:
steps:
- name: Define build strategy
id: strategy
run: |
cat << EOF >> matrix.json
{
"platform": [
"ubuntu-22.04",
"windows-2022"
],
"build_type": [
"Release"
]
}
EOF
matrix=$(cat matrix.json)
echo "matrix=$matrix" >> $GITHUB_OUTPUT
env:
MATRIX: >-
[
{
"platform": [
"ubuntu-22.04",
"windows-2022"
],
"build_type": [
"Release"
]
}
]
run: echo "matrix=$MATRIX" >> $GITHUB_OUTPUT

- name: Display build config
run: jq . <<< '${{ steps.strategy.outputs.matrix }}'
Expand Down

0 comments on commit b04ab33

Please sign in to comment.