Skip to content

Commit

Permalink
chore: upd dep script
Browse files Browse the repository at this point in the history
  • Loading branch information
semarche-kaltura committed Dec 11, 2023
1 parent bc5ac21 commit 39a1610
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/update_dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '14.x'
node-version: '16.x'

- name: Check updates Kaltura dependencies (branch - ${{ github.ref_name }})
run: |
Expand All @@ -98,9 +98,11 @@ jobs:
local inputsJson="${{ toJson(github.event.inputs) }}"
echo ">> inputs $inputsJson"
echo ">> checked $(echo "$inputsJson" | jq -r --arg key "UPDATE-${dependencyName}" '.[$key]')"
echo ">> version $(echo "$inputsJson" | jq -r --arg key "VERSION-${dependencyName}" '.[$key]')"
# Check if the dependency checked in script inputs
if [[ $(echo "$inputsJson" | jq -r --arg key "UPDATE-$dependencyName" '.[$key]') == "true" ]]; then
if [[ $(echo "$inputsJson" | jq -r --arg key "UPDATE-${dependencyName}" '.[$key]') == "true" ]]; then
local inputValue=$(echo "$inputsJson" | jq -r --arg key "VERSION-${dependencyName}" '.[$key]')
# Check and set version for update
Expand Down

0 comments on commit 39a1610

Please sign in to comment.