From 3ae61e1a8eac8f7e7294e516b156a0b95e4d7e65 Mon Sep 17 00:00:00 2001 From: Nishi Date: Sat, 5 Oct 2024 07:42:14 +0000 Subject: [PATCH] update workflow git-svn-id: file:///raid/svn-personal/tewi/trunk@264 8739d7e6-ffea-ec47-b151-bdff447c6205 --- .github/workflows/build.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 00ce80a..2726812 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,10 +5,11 @@ name: "Build Tewi HTTPd" on: workflow_dispatch: inputs: - levels: - description: "level" - type: number - required: false + release: + description: "release or not" + type: boolean + default: true + required: true push: concurrency: @@ -75,7 +76,7 @@ jobs: release: name: "Release" runs-on: ubuntu-latest - if: ${{ contains(github.event.head_commit.message, '[release') || github.event.inputs.level != '' }} + if: ${{ contains(github.event.head_commit.message, '[release') || github.event.inputs.release }} permissions: contents: write -- 2.43.0