]> Nishi Git Mirror - tewi.git/commitdiff
release only if commit contains release
authorNishi <nishi@nishi.boats>
Mon, 30 Sep 2024 01:32:21 +0000 (01:32 +0000)
committerNishi <nishi@nishi.boats>
Mon, 30 Sep 2024 01:32:21 +0000 (01:32 +0000)
git-svn-id: file:///raid/svn-personal/tewi/trunk@204 8739d7e6-ffea-ec47-b151-bdff447c6205

.github/workflows/build.yml

index 8ce6089e9ec0c990315b1503889304debb8cf0d5..00ae8dda8b914540cabf7e8378e9124351183ccb 100644 (file)
@@ -14,7 +14,6 @@ jobs:
   build-win32:
     name: "Build for Windows 32-bit"
     runs-on: ubuntu-latest
-    if: ${{ !contains(github.event.head_commit.message, '[release') }}
 
     permissions:
       contents: write
@@ -43,7 +42,6 @@ jobs:
   build-win64:
     name: "Build for Windows 64-bit"
     runs-on: ubuntu-latest
-    if: ${{ !contains(github.event.head_commit.message, '[release') }}
 
     permissions:
       contents: write
@@ -72,7 +70,7 @@ jobs:
   release:
     name: "Release"
     runs-on: ubuntu-latest
-    if: ${{ !contains(github.event.head_commit.message, '[release') }}
+    if: ${{ contains(github.event.head_commit.message, '[release') }}
 
     permissions:
       contents: write