Skip to content

Commit

Permalink
upd script
Browse files Browse the repository at this point in the history
  • Loading branch information
semarche-kaltura committed Dec 11, 2023
1 parent 78ddf7d commit 73a7a57
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/update_dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,14 +96,14 @@ jobs:
# Save script inputs to local variable
local inputsJson="${{ toJson(github.event.inputs) }}"
local dependencyKey="UPDATE-$dependencyName"
local versionKey="VERSION-$dependencyName"
local dependencyKey=".[\"UPDATE-$dependencyName\"]"
local versionKey=".[\"VERSION-$dependencyName\"]"
# Debug:
echo ">> inputsJson $inputsJson"
local checkedValue=$(echo $inputsJson | jq -r .$dependencyKey)
local versionValue=$(echo $inputsJson | jq -r .$versionKey)
local checkedValue=$(echo $inputsJson | jq -r "$dependencyKey")
local versionValue=$(echo $inputsJson | jq -r "$versionKey")
echo ">> checked $checkedValue"
echo ">> version $versionValue"
Expand Down

0 comments on commit 73a7a57

Please sign in to comment.