Skip to content

Commit

Permalink
add debug print
Browse files Browse the repository at this point in the history
  • Loading branch information
Robin Fievet committed Oct 11, 2024
1 parent 0e9b851 commit f0e03a4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/identify_target_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 "/<th class=\"bg-primary\" colspan=4>$(printf '%s\n' "$BOINC_APP_DESCRIPTION" | sed 's/[\^$.|?*+{}]/\\&/g')<\/th>/,/<td>\([0-9].[0-9]\)/p" apps.php | sed -n 's/.*<td>\([0-9][0-9]*\.[0-9]*\)<\/td>.*/\1/ p')
if [ -z "$VERSION" ]; then
Expand Down

0 comments on commit f0e03a4

Please sign in to comment.