Skip to content

Commit

Permalink
chore: tojson
Browse files Browse the repository at this point in the history
  • Loading branch information
iowillhoit committed Sep 22, 2023
1 parent a160443 commit 45edef6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ jobs:
- uses: actions/checkout@v3
- run: |
JIT=$(jq -c '.oclif.jitPlugins | keys' package.json)
JIT_JSON='${{ toJson($JIT) }}'
echo "Found JIT plugins:"
echo "$JIT_JSON"
echo "jit=$JIT_JSON" >> "$GITHUB_OUTPUT"
echo "$JIT"
echo "jit=$JIT" >> "$GITHUB_OUTPUT"
echo "$GITHUB_OUTPUT"
echo-jit-plugins:
needs: get-jit-plugins
Expand All @@ -53,7 +53,7 @@ jobs:
- uses: actions/checkout@v3
- run: |
echo "JIT JSON:"
echo ${{ needs.get-jit-plugins.outputs.jit }}
echo ${{ toJson(needs.get-jit-plugins.outputs.jit) }}
echo "JIT from JSON:"
echo ${{ fromJSON(needs.get-jit-plugins.outputs.jit) }}
Expand Down

0 comments on commit 45edef6

Please sign in to comment.