Skip to content

Commit

Permalink
Try referencing property of deserialized json object (3)
Browse files Browse the repository at this point in the history
  • Loading branch information
popematt committed Apr 10, 2024
1 parent bc4876e commit 68b06ea
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,8 @@ jobs:
echo '${{ toJSON(matrix) }}'
echo '${{ env.runner-labels}}'
echo '${{ fromJSON(needs.setup.outputs.runner-labels)['macos'] }}'
- id: set-matrix
run: echo "runner-labels={\"include\":[{\"project\":\"foo\",\"config\":\"Debug\"},{\"project\":\"bar\",\"config\":\"Release\"}]}" >> $GITHUB_OUTPUT
echo '${{ fromJSON(needs.setup.outputs.runner-labels).macos }}'
echo '${{ fromJSON(needs.setup.outputs).runner-labels['windows'] }}'
build:
name: Build and Test
Expand Down

0 comments on commit 68b06ea

Please sign in to comment.