Skip to content

Commit 31b993d

Browse files
committed
github action: fix the syntax - fails in the ci
1 parent 2b92721 commit 31b993d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ jobs:
402402
cp README.md LICENSE "$d/"
403403
tar -zcvf "$d.tar.gz" "$d"
404404
echo -n "$(shasum -ba 256 "$d.tar.gz" | cut -d " " -f 1)" > "$d.tar.gz.sha256"
405-
if [[ $d =~ (sccache-)(.*)?pc-windows)(.*)? ]]; then
405+
if [[ $d =~ sccache-.*-pc-windows-.* ]]; then
406406
zip -r "$d.zip" "$d"
407407
echo -n "$(shasum -ba 256 "$d.zip" | cut -d " " -f 1)" > "$d.zip.sha256"
408408
fi

0 commit comments

Comments
 (0)