Skip to content

Commit

Permalink
Create merge_jsons.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidKarlas committed Apr 23, 2024
1 parent 06b8af0 commit e377805
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/merge_jsons.yml
@@ -0,0 +1,20 @@
name: Merging countries jsons
on: push

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Install jq tool
run: |
sudo apt-get update
sudo apt-get install jq
- name: Merge jsons into ExpectedStateOfAdmins.json
run: jq -s '. | map(.)' -c ./ExpectedStateOfAdmins/*.json > ExpectedStateOfAdmins.json
- name: Publish ExpectedStateOfAdmins.json as release
uses: softprops/action-gh-release@v2
if: github.ref == 'refs/heads/main'
with:
files: Release.txt

0 comments on commit e377805

Please sign in to comment.