Create Ovation P-56FC (7Ch).json #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Combine all *.json files | |
on: | |
push: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: checkout Repo | |
uses: actions/checkout@v4 | |
- name: combine | |
run: | | |
find . -name "*.json" -exec cat {} + | jq -s '.' > combine.json | |
- name: push to repo | |
run: | | |
git config --global user.name 'Github-Workflow' | |
git config --global user.email '[email protected]' | |
git add combine.json | |
git commit -am "combine all json-files" | |
git push |