Skip to content

Get ratings

Get ratings #825

Workflow file for this run

name: "Get ratings"
on:
workflow_dispatch:
schedule:
- cron: '5 4 * * *'
jobs:
update_ratings:
name: "Update ratings"
runs-on: "ubuntu-latest"
steps:
- name: Checkout
uses: actions/checkout@v3
- name: "fetch"
run: |
sudo apt-get install -y jq
curl https://itunes.apple.com/lookup\?id\=1037992616\&country\=gb | jq '[(now|strftime("%Y-%m-%d")),.results[0].userRatingCount, .results[0].averageUserRating] | @csv' >> ratings
- uses: stefanzweifel/git-auto-commit-action@v4