Skip to content

File Sizes Updater #816

File Sizes Updater

File Sizes Updater #816

name: File Sizes Updater
on:
workflow_dispatch:
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"