Forráskód Böngészése

pkg: Allow triggering a CI run manually

This will only build the kernel, sign it and upload it as an artifact.
Useful for testing changes.
Dorian Stoll 1 éve
szülő
commit
30c9a9caa5

+ 4 - 0
.github/workflows/arch.yml

@@ -7,6 +7,9 @@ on:
   push:
     tags:
       - 'arch-*'
+
+  repository_dispatch:
+  workflow_dispatch:
   
 jobs:
   build:
@@ -68,6 +71,7 @@ jobs:
 
   release:
     name: Publish release
+    if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/')
     needs: [build]
     runs-on: ubuntu-latest
     steps:

+ 4 - 0
.github/workflows/debian.yml

@@ -8,6 +8,9 @@ on:
     tags:
       - 'debian-*'
 
+  repository_dispatch:
+  workflow_dispatch:
+
 jobs:
   build:
     name: Build Kernel
@@ -68,6 +71,7 @@ jobs:
 
   release:
     name: Publish release
+    if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/')
     needs: [build]
     runs-on: ubuntu-latest
     steps:

+ 4 - 0
.github/workflows/fedora-37.yml

@@ -9,6 +9,9 @@ on:
     tags:
       - 'fedora-37-*'
 
+  repository_dispatch:
+  workflow_dispatch:
+
 jobs:
   build:
     name: Build Kernel
@@ -69,6 +72,7 @@ jobs:
 
   release:
     name: Publish release
+    if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/')
     needs: [build]
     runs-on: ubuntu-latest
     steps:

+ 4 - 0
.github/workflows/fedora-38.yml

@@ -9,6 +9,9 @@ on:
     tags:
       - 'fedora-38-*'
 
+  repository_dispatch:
+  workflow_dispatch:
+
 jobs:
   build:
     name: Build Kernel
@@ -69,6 +72,7 @@ jobs:
 
   release:
     name: Publish release
+    if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/')
     needs: [build]
     runs-on: ubuntu-latest
     steps: