Skip to content

Commit

Permalink
chore: remove fromjson
Browse files Browse the repository at this point in the history
  • Loading branch information
iowillhoit committed Sep 22, 2023
1 parent 3647c4c commit 58ac5e0
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,28 +40,28 @@ jobs:
steps:
- uses: actions/checkout@v3
- run: |
JIT=$(jq '.oclif.jitPlugins | keys' package.json)
JIT=$(jq -c '.oclif.jitPlugins | keys' package.json)
echo "Found JIT plugins:"
echo "'$JIT'"
echo "jit='$JIT'" >> "$GITHUB_OUTPUT"
echo "$JIT"
echo "jit=$JIT" >> "$GITHUB_OUTPUT"
echo-jit-plugins:
needs: get-jit-plugins
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: |
echo "JIT to JSON:"
echo ${{ toJson(needs.get-jit-plugins.outputs.jit) }}
echo "JIT from JSON:"
echo ${{ fromJSON(needs.get-jit-plugins.outputs.jit) }}
# echo-jit-plugins:
# needs: get-jit-plugins
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - run: |
# echo "JIT to JSON:"
# echo ${{ toJson(needs.get-jit-plugins.outputs.jit) }}
# echo "JIT from JSON:"
# echo ${{ fromJSON(needs.get-jit-plugins.outputs.jit) }}

jit-install:
needs: [manifest, get-jit-plugins]
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
jitPlugins: ${{ fromJSON(needs.get-jit-plugins.outputs.jit) }}
jitPlugins: ${{ needs.get-jit-plugins.outputs.jit }}
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit 58ac5e0

Please sign in to comment.