Skip to content

Commit 902031c

Browse files
committed
fixup! fixup! Quote variable contents in update checker
1 parent a2e286b commit 902031c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/check-for-updates.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,12 @@ jobs:
8787
# Extract TZDATA_NEWS from file content
8888
TZDATA_NEWS=$(cat "$news_files")
8989
90-
echo "$GITHUB_ENV"
9190
echo "TZDATA_VERSION='$TZDATA_VERSION'" >> $GITHUB_ENV
92-
echo "TZDATA_NEWS='$TZDATA_NEWS'" >> $GITHUB_ENV
91+
{
92+
echo 'TZDATA_NEWS<<EOF'
93+
echo $TZDATA_NEWS
94+
echo EOF
95+
} >> "$GITHUB_ENV"
9396
9497
- name: Commit changes
9598
id: commit_changes

0 commit comments

Comments
 (0)