ci: Prevent expansion of prune pattern.

Signed-off-by: Tim 'mithro' Ansell <tansell@google.com>
diff --git a/.github/capture.sh b/.github/capture.sh
index d334aab..6df1927 100644
--- a/.github/capture.sh
+++ b/.github/capture.sh
@@ -19,7 +19,7 @@
 cp ./sky130/sky130A_install.log ${GITHUB_WORKSPACE}/output/
 
 # Copy any core dupmps into the output directory.
-find . -name core -not \( -path */skywater-pdk/* -prune \) | \
+find . -name core -not \( -path '*/skywater-pdk/*' -prune \) | \
 	awk -v ln=1 '{print "cp " $0 " ${GITHUB_WORKSPACE}/output/core." ln++ }' | \
 	bash