]> Nishi Git Mirror - tewi.git/commitdiff
update workflow
authorNishi <nishi@nishi.boats>
Sat, 5 Oct 2024 07:42:14 +0000 (07:42 +0000)
committerNishi <nishi@nishi.boats>
Sat, 5 Oct 2024 07:42:14 +0000 (07:42 +0000)
git-svn-id: file:///raid/svn-personal/tewi/trunk@264 8739d7e6-ffea-ec47-b151-bdff447c6205

.github/workflows/build.yml

index 00ce80a3f79e00315eb8b165abca5679e172bb6e..272681288e7fba2fe4dda1fe9cd2eb558eeada15 100644 (file)
@@ -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