Skip to content

Commit

Permalink
chore: catch unlocode.jsonld download exit code
Browse files Browse the repository at this point in the history
  • Loading branch information
kshychko committed May 31, 2024
1 parent fe5d4dd commit 086c1d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@ jobs:
mv unlocode-sorted.jsonld unlocode.jsonld
mv *.jsonld ../../vocab/
- name: commit json-ld
- name: runn diff
working-directory: vocab/
run: |
curl -o unlocode-main.jsonld https://raw.githubusercontent.com/uncefact/vocabulary-outputs/main/unlocode.jsonld
curl -o unlocode-main.jsonld https://raw.githubusercontent.com/uncefact/vocabulary-outputs/main/unlocode.jsonld && echo "Downloaded"
diff <(jq --sort-keys . unlocode-main.jsonld) <(jq --sort-keys . unlocode.jsonld) > unlocode-diff.txt
curl -o unlocode-subdivisions-main.jsonld https://raw.githubusercontent.com/uncefact/vocabulary-outputs/main/unlocode-subdivisions.jsonld
diff <(jq --sort-keys . unlocode-subdivisions-main.jsonld) <(jq --sort-keys . unlocode-subdivisions.jsonld) > unlocode-subdivisions-diff.txt
Expand Down

0 comments on commit 086c1d6

Please sign in to comment.