Update Downloads Badges #1443
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: Update Downloads Badges | |
on: | |
schedule: | |
- cron: '15 17 * * *' # Every day at 5:15pm UTC | |
jobs: | |
update: | |
name: Update Downloads Badges | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
architecture: 'x64' | |
- name: Install Requirements | |
run: python -m pip install requests | |
- name: Run Python Script | |
run: python etc/downloads_badges.py | |
env: | |
ZAPIER_SHA: ${{ secrets.ZAPIER_SHA }} |