Skip to content

Tweak Direct Download URL #799

Tweak Direct Download URL

Tweak Direct Download URL #799

name: File Sizes Updater
on:
push:
schedule:
- cron: '0 0 * * *'
jobs:
update-file-sizes:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Get Node
uses: actions/setup-node@v3
with:
node-version: latest
- name: Configure Git
run: git config --global user.name "Leo Herzog" && git config --global user.email "[email protected]"
- name: Add missing file sizes
run: node .github/update-file-sizes.js
- name: Add, Commit, and Push
run: git add distros.json && git commit -m "Add Missing File Sizes" && git push || echo "No changes"