From 6c159cf7d8baee19e080fd9c467a02fe416d9ec2 Mon Sep 17 00:00:00 2001 From: Jade Carino Date: Fri, 9 Aug 2024 15:40:43 +0100 Subject: [PATCH] Add workflow dispatch inputs Signed-off-by: Jade Carino --- .github/workflows/build.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index f5aa667..d94401a 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -2,6 +2,23 @@ name: Main build on: workflow_dispatch: + inputs: + jacocoEnabled: + description: 'Enable Jacoco code coverage (set to "false" for release builds)' + required: true + default: 'true' + type: choice + options: + - 'true' + - 'false' + isMainOrRelease: + description: 'This build is for the main branch or a release (set to "false" for development branch builds)' + required: true + default: 'true' + type: choice + options: + - 'true' + - 'false' push: branches: [main]