Manual actions #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Dependencies | |
run: ./deploy/dependencies/install_dependencies_ubuntu.sh | |
shell: bash | |
- name: Build | |
run: ./tests/test_kernel_build.sh | |
shell: bash | |
- name: Install | |
run: ./tests/test_kernel_install.sh | |
shell: bash | |
test-ci-env: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup upterm session | |
uses: lhotari/action-upterm@v1 | |
with: | |
## 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 | |
# Use to test kernel patch build if needed | |
release-kernel-patch: | |
runs-on: ubuntu-latest | |
if: ${{ github.event.inputs.BUILD_KERNEL_PATCH }} == 'true' | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Build kernel patch | |
run: ./deploy/build_kernelpatch.sh | |
shell: bash |