Skip to content

Commit

Permalink
Update loop.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
WUOTE authored Apr 1, 2024
1 parent 4bf790d commit 0ee3497
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/loop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
echo "${name}_CACHEKEY=${cachekey_value}"
done
echo "PROJECT_NAMES='${PROJECT_NAMES[@]}'" >> $GITHUB_ENV
echo "PROJECT_NAMES=${PROJECT_NAMES[@]}" >> $GITHUB_ENV
- name: Fetch and update cache keys
id: fetch_and_update_cache_keys
Expand All @@ -44,7 +44,7 @@ jobs:
project_alias=$(jq -r '.result[0].aliases[0]' <<< "$response" | sed 's#https://##')
modified_on=$(jq -r '.result[0].modified_on' <<< "$response" | date -u -f - +%s)
echo "${var_name}='${project_alias}=${modified_on}'" >> $GITHUB_ENV # Use environment variable to pass dynamic value.
echo "${var_name}=${project_alias}=${modified_on}" >> $GITHUB_ENV # Use environment variable to pass dynamic value.
}
for name in ${PROJECT_NAMES[@]}; do
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
for name in ${PROJECT_NAMES[@]}; do
update_modified_on "$name"
update_modified_on "$name"
done
Expand Down

0 comments on commit 0ee3497

Please sign in to comment.