Update handle-mcdata-update.yml fix input handling

This commit is contained in:
extremeheat
2025-08-17 17:47:11 -04:00
committed by GitHub
parent 5a98d2aabd
commit 47a2b32355
+6 -2
View File
@@ -1,7 +1,11 @@
name: handle-mcdata-update
on:
repository_dispatch:
types: [mc-update]
inputs:
version:
description: 'What new version is like `1.21.6`'
required: true
default: '1.21.6'
jobs:
update-mcdata:
runs-on: ubuntu-latest
@@ -10,6 +14,6 @@ jobs:
with:
submodules: true
- run: npm install # install gh-helpers
- run: node .github/commands/bump.js ${{ github.event.client_payload.tag }}
- run: node .github/commands/bump.js ${{ github.event.inputs.version }}
env:
GITHUB_TOKEN: ${{ secrets.PAT_PASSWORD }}