Tweak Direct Download URL #799
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: 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" |