Skip to content

Update Forge Files every day #1410

Update Forge Files every day

Update Forge Files every day #1410

name: Update Forge Files every day
on:
schedule:
- cron: '15 1 * * *'
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: '~/.npm'
key: ${{ runner.os }}
- uses: actions/setup-node@v2
with:
node-version: 14.x
- run: npm install -g forge-update-generator
- run: cd forge_update && ./_update.sh
- run: cd neoforge_update && ./_update.sh
- run: cd fabric_update && ./_update.sh
- uses: EndBug/add-and-commit@v7
with:
add: 'forge_update neoforge_update fabric_update'
message: 'Update Forge, NeoForge, and Fabric update files'
push: true