From 8bd5056ec825b77ed94793494271d8aaa6814822 Mon Sep 17 00:00:00 2001 From: Npepperlinux Date: Mon, 18 Nov 2024 08:59:02 +0900 Subject: [PATCH] =?UTF-8?q?(workflow)=20=E3=83=87=E3=83=97=E3=83=AD?= =?UTF-8?q?=E3=82=A4=E5=89=8D=E3=81=AB=E3=83=90=E3=83=BC=E3=82=B8=E3=83=A7?= =?UTF-8?q?=E3=83=B3=E3=81=AE=E6=9B=B4=E6=96=B0=E7=A8=AE=E9=A1=9E=E3=82=92?= =?UTF-8?q?=E9=81=B8=E6=8A=9E=E3=81=A7=E3=81=8D=E3=82=8B=E3=82=88=E3=81=86?= =?UTF-8?q?=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 5b0a40269..13a6fb67b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,6 +1,18 @@ name: デプロイ -on: [workflow_dispatch] +on: + workflow_dispatch: + inputs: + bump_version: + description: 'Item to bump version' + required: true + default: 'build' + type: choice + options: + - build + - patch + - minor + - major permissions: contents: write @@ -59,7 +71,7 @@ jobs: - name: Bump up version run: | - flutter pub run cider bump build --bump-build + flutter pub run cider bump ${{ inputs.bump_version }} --bump-build echo "BUMP_VERSION=$(flutter pub run cider version)" >> $GITHUB_ENV - name: Commit and push pubspec.yaml