Add initial version of expected state #2
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: 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 |