Skip to content

Commit

Permalink
totals
Browse files Browse the repository at this point in the history
  • Loading branch information
orf committed Jul 29, 2023
1 parent 58e1007 commit 8643265
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/stats.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,15 @@ jobs:
- name: Generate stats
run: |
cat links/dataset.txt
poetry run pypi-data run-sql ${{ github.workspace }}/sql/stats.prql stats/overall.json --output=json --threads=4 $(cat links/dataset.txt)
poetry run pypi-data run-sql ${{ github.workspace }}/sql/stats.prql stats/totals.json --output=json --threads=4 $(cat links/dataset.txt)
- run:
cp stats/overall.json t
cat t | jq '.' > stats/overall.json
cp stats/totals.json t
cat t | jq '.' > stats/totals.json

- uses: EndBug/add-and-commit@v9
with:
add: 'stats/overall.json'
add: 'stats/totals.json'
author_email: "41898282+github-actions[bot]@users.noreply.github.com"
author_name: "commit-bot"
message: "Add stats"
Expand Down

0 comments on commit 8643265

Please sign in to comment.