mirror of
https://github.com/pnp/sp-dev-fx-webparts.git
synced 2025-03-06 03:39:19 +00:00
testing jq approach
This commit is contained in:
parent
08fe3806cc
commit
e80f04886e
13
.github/workflows/merge-sample-json.yml
vendored
13
.github/workflows/merge-sample-json.yml
vendored
@ -41,8 +41,11 @@ jobs:
|
||||
merge_json:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Run script file
|
||||
run: |
|
||||
find samples/ -name 'sample.json' -exec cat {} \; > test-samples.json
|
||||
shell: bash
|
||||
# - uses: actions/checkout@v2
|
||||
# - name: Run script file
|
||||
# run: |
|
||||
# find samples/ -name 'sample.json' -exec cat {} \; > test-samples.json
|
||||
# shell: bash
|
||||
uses: sergeysova/jq-action@v2
|
||||
with:
|
||||
cmd: jq -s '[.[][]]' samples/**/assets/sample.json > test-samples.json
|
||||
|
Loading…
x
Reference in New Issue
Block a user