From 655ed9adfe37fc414673531642228db10273a08a Mon Sep 17 00:00:00 2001 From: Eric Coissac Date: Mon, 14 Apr 2025 09:40:33 +0200 Subject: [PATCH] Actualiser action.yaml --- action.yaml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/action.yaml b/action.yaml index e178458..e5b1305 100644 --- a/action.yaml +++ b/action.yaml @@ -18,12 +18,24 @@ inputs: required: false default: '' debug: - decrtio + description: 'Run the action in debug mode' + required: false + default: false + type: boolean runs: using: 'composite' steps: + - name: Set debug mode + if: ${{ inputs.debug == true }} + shell: bash + run: | + source ./bashlib.sh + export DEBUG="ON" + echo "DEBUG=ON" >> $GITEA_ENV + debug Debug switch on + - name: Ping the server shell: bash run: |