]> Git repositories of Nishi - tewi.git/commitdiff
add if condition to github actions
authorNishi <nishi@nishi.boats>
Mon, 30 Sep 2024 01:31:13 +0000 (01:31 +0000)
committerNishi <nishi@nishi.boats>
Mon, 30 Sep 2024 01:31:13 +0000 (01:31 +0000)
git-svn-id: file:///raid/svn-personal/tewi/trunk@203 8739d7e6-ffea-ec47-b151-bdff447c6205

.github/workflows/build.yml

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