try and trigger the workflow_dispatch event

This commit is contained in:
Paul Schneider
2025-06-11 14:28:00 +01:00
parent 836dae756f
commit 4c1235267c
5 changed files with 58 additions and 31 deletions

View File

@ -4,12 +4,43 @@
name: .NET
on:
workflow_dispatch:
inputs:
logLevel:
description: 'Log level'
required: true
default: 'warning'
type: choice
options:
- info
- warning
- debug
tags:
description: 'Test scenario tags'
required: false
type: boolean
environment:
description: 'Environment to run tests against'
type: environment
required: true
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
log-the-inputs:
runs-on: ubuntu-latest
steps:
- run: |
echo "Log level: $LEVEL"
echo "Tags: $TAGS"
echo "Environment: $ENVIRONMENT"
env:
LEVEL: ${{ inputs.logLevel }}
TAGS: ${{ inputs.tags }}
ENVIRONMENT: ${{ inputs.environment }}
build:
runs-on: ubuntu-latest