From e5036ee61559d9c4bc1afb324e78a48f1078af5d Mon Sep 17 00:00:00 2001 From: Martin Cholewa Date: Mon, 20 Jan 2025 16:12:28 +0100 Subject: [PATCH] Update .gitea/workflows/testfly.yaml --- .gitea/workflows/testfly.yaml | 28 ++++++++++++++++++++++------ 1 file changed, 22 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/testfly.yaml b/.gitea/workflows/testfly.yaml index 92154dc..6f836e3 100644 --- a/.gitea/workflows/testfly.yaml +++ b/.gitea/workflows/testfly.yaml @@ -1,10 +1,26 @@ -name: Gitea Actions Demo -run-name: THIS is testing out Gitea Actions 🚀 +name: Manual Trigger Workflow with loglevel & tags +#get log & tags information +on: + workflow_dispatch: + inputs: + logLevel: + description: 'Log level' + required: true + default: 'information' + type: choice + options: + - information + - debug + - warning + - critical + tags: + description: 'Purpose of Run This Workflow?' + required: true + type: string jobs: - Explore-Gitea-Actions: + print-tag: runs-on: ubuntu-latest steps: - - name: Check for manual trigger - if: ${{ env.MANUAL_TRIGGER == 'true' }} - run: echo "🎉 This job was manually triggered!" \ No newline at end of file + - name: Print the purpose of run + run: echo ${{ inputs.tags }} purpose \ No newline at end of file