Skip to content

Commit

Permalink
Github Action: Add kernel patch test build to Manual action
Browse files Browse the repository at this point in the history
Signed-off-by: Gonçalo Negrier Duarte <[email protected]>
  • Loading branch information
MrDuartePT committed Apr 7, 2024
1 parent 0cd7f2e commit 2d28eaf
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion .github/workflows/extra.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
name: Manual actions
on:
workflow_dispatch
inputs:
BUILD_KERNEL_PATCH:
description: 'Test build kernel patch'
required: true
default: 'true'
type: choice
options:
- true
- false
jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -26,4 +35,15 @@ jobs:
## limits ssh access and adds the ssh public key for the user which triggered the workflow
limit-access-to-actor: true
## limits ssh access and adds the ssh public keys of the listed GitHub users
limit-access-to-users: johnfanv2
limit-access-to-users: johnfanv2
# Use to test kernel patch build if needed
release-kernel-patch:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Build kernel patch
if: ${{ github.event.inputs.BUILD_KERNEL_PATCH }} == 'true'
run: ./deploy/build_kernelpatch.sh
shell: bash

0 comments on commit 2d28eaf

Please sign in to comment.