Skip to content

Commit

Permalink
Update test-2.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rindeal authored May 23, 2024
1 parent af7dc9e commit 9b26848
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test-2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
value="${!var}"
# Check if the value is a readable file
if [[ -r "$value" ]]; then
if [[ -f "$value" && -r "${value}" ]] && file -b "$value" | grep -q "text"; then
# Print the header with the realpath of the file
echo "File: $(realpath "$value")"
Expand Down

0 comments on commit 9b26848

Please sign in to comment.