Update Forge Files every day #1389
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 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 |