minecraft-update #1
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: MC Update File Generation | |
on: | |
repository_dispatch: | |
types: [minecraft-update] | |
workflow_dispatch: | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- run: git checkout master | |
- run: pnpm install | |
- run: pnpm install @types/node | |
- run: node scripts/mc-update.mjs | |
- uses: EndBug/add-and-commit@v9 | |
with: | |
default_author: github_actions | |
message: "Update generated files for latest minecraft release" |