Update handle-mcdata-update.yml fix input handling
This commit is contained in:
@@ -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 }}
|
||||
Reference in New Issue
Block a user