From f0e03a4a544de5ce56fb519bab68e4aeca4548a0 Mon Sep 17 00:00:00 2001 From: Robin Fievet Date: Fri, 11 Oct 2024 12:39:33 -0400 Subject: [PATCH] add debug print --- .github/workflows/identify_target_version.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/identify_target_version.yml b/.github/workflows/identify_target_version.yml index 640cd30..6038f5f 100644 --- a/.github/workflows/identify_target_version.yml +++ b/.github/workflows/identify_target_version.yml @@ -2,6 +2,11 @@ name: 'Identify Target Version' on: workflow_dispatch: + inputs: + boinc_app_description: + description: 'The BOINC app "description" value from the BOINC server / database' + required: true + type: string workflow_call: inputs: boinc_app_description: @@ -27,7 +32,7 @@ jobs: shell: bash id: new_version_number env: - BOINC_APP_DESCRIPTION: 'TESTTTTTTT${{ inputs.boinc_app_description }}' + BOINC_APP_DESCRIPTION: 'IJOUYGTFHGCHVJKGJFCGHVJB${{ inputs.boinc_app_description }}' run: | VERSION=$(sed -n "/$(printf '%s\n' "$BOINC_APP_DESCRIPTION" | sed 's/[\^$.|?*+{}]/\\&/g')<\/th>/,/\([0-9].[0-9]\)/p" apps.php | sed -n 's/.*\([0-9][0-9]*\.[0-9]*\)<\/td>.*/\1/ p') if [ -z "$VERSION" ]; then