Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
jackieli-tes committed Jan 30, 2024
1 parent 0c11073 commit a66ef34
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/create-cache-files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ if [ -z "$path" ]; then
fi

mkdir -p $path
echo -e "File content:\n$prefix $GITHUB_RUN_ID"
echo "$prefix $GITHUB_RUN_ID" > $path/test-file.txt
2 changes: 1 addition & 1 deletion src/verify-cache-files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ fi

# Verify file content
content="$(cat $file)"
echo "File content:\n$content"
echo -e "File content:\n$content"
if [ -z "$(echo $content | grep --fixed-strings "$prefix $GITHUB_RUN_ID")" ]; then
echo "Unexpected file content"
exit 1
Expand Down

0 comments on commit a66ef34

Please sign in to comment.