aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorHsiangNianian <i@jyunko.cn>2024-09-08 04:56:20 +0800
committerHsiangNianian <i@jyunko.cn>2024-09-08 04:56:20 +0800
commit7103a54bc899bcf1725ee844310123c19bb52637 (patch)
tree3743e685bec187af53fc01d9374d573d3b1de198
parent8540cb842c22aa431b8f6ae017b4c69c717e5410 (diff)
downloadHydroRoll-7103a54bc899bcf1725ee844310123c19bb52637.tar.gz
HydroRoll-7103a54bc899bcf1725ee844310123c19bb52637.zip
chore(workflow): update inputs for version in workflows (#110)
-rw-r--r--.github/workflows/build-api.yml5
-rw-r--r--.github/workflows/changelog.yml5
-rw-r--r--.github/workflows/release.yml5
3 files changed, 15 insertions, 0 deletions
diff --git a/.github/workflows/build-api.yml b/.github/workflows/build-api.yml
index ee3411f..b81f717 100644
--- a/.github/workflows/build-api.yml
+++ b/.github/workflows/build-api.yml
@@ -5,6 +5,11 @@ on:
tags:
- "v*"
workflow_dispatch:
+ inputs:
+ version:
+ type: string
+ required: true
+ description: 'The version to update'
jobs:
update-api-doc:
diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml
index e89687a..e65d953 100644
--- a/.github/workflows/changelog.yml
+++ b/.github/workflows/changelog.yml
@@ -6,6 +6,11 @@ on:
- "v*"
# - v[0-9]+.[0-9]+.[0-9]+
workflow_dispatch:
+ inputs:
+ version:
+ type: string
+ required: true
+ description: 'The version to update'
jobs:
deploy:
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index d9200ad..b2f9f56 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -13,6 +13,11 @@ on:
- 'v*'
pull_request:
workflow_dispatch:
+ inputs:
+ version:
+ type: string
+ required: true
+ description: 'The version to update'
permissions:
contents: read