Skip to content

Commit b5bd996

Browse files
committed
Use absolute path
1 parent 58c4499 commit b5bd996

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gh-program-downloader

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ maybe_extract_artifact() {
157157
if [ -n "$destination" ] && [ -f "$destination" ]; then
158158
chmod +x "$destination"
159159
if [ -n "$add_to_path" ]; then
160-
dirname "$destination" >> "$GITHUB_PATH"
160+
realpath $(dirname "$destination") >> "$GITHUB_PATH"
161161
fi
162162
fi
163163
}

0 commit comments

Comments
 (0)