Skip to content

Commit

Permalink
argfile argument in jq has been removed. Replace it.
Browse files Browse the repository at this point in the history
  • Loading branch information
gabek committed Jan 11, 2025
1 parent 7a42876 commit c59d5f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
run: "curl https://api.github.com/repos/owncast/owncast.github.io/contributors?per_page=100 | jq 'map(.) | .[] | {login: .login, avatar_url: .avatar_url, html_url: .html_url}' | jq --slurp '.' > data/contributors-homepage.json"

- name: Combine Contributors
run: "jq --argfile core data/contributors-core.json --argfile homepage data/contributors-homepage.json -n '$core + $homepage |unique_by(.login)' > data/contributors.json"
run: "jq -n 'input | . as $core | (input | . as $homepage | $core + $homepage) | unique_by(.login)' data/contributors-core.json data/contributors-homepage.json > data/contributors.json"

- name: Fetch donors
run: 'curl https://opencollective.com/owncast/members/all.json | jq ''map(.) | .[] | select(.role=="BACKER") | {login: .name, avatar_url: .image, html_url: .profile}'' | jq --slurp ''.'' > data/donors.json'
Expand Down

0 comments on commit c59d5f7

Please sign in to comment.