From a777470be6c55b67b08487f7ce910ca399a60f0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20H=C3=A4drich?= <11225821+shaedrich@users.noreply.github.com> Date: Wed, 5 Jun 2024 04:06:35 +0000 Subject: [PATCH] Pass absolute path to ponyc --- .ci-scripts/check-code-samples.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci-scripts/check-code-samples.bash b/.ci-scripts/check-code-samples.bash index f01983e6..09729f95 100755 --- a/.ci-scripts/check-code-samples.bash +++ b/.ci-scripts/check-code-samples.bash @@ -14,7 +14,7 @@ for file in *.pony; do echo -e "#$i Test $file … ($i/$files \u2192 $percentage %)" #docker run -v $(pwd):/src/main docker://ghcr.io/ponylang/ponyc:latest #ponyc "./code-samples/$file" - $HOME/.local/share/ponyup/bin/ponyc "./code-samples/$file" + $HOME/.local/share/ponyup/bin/ponyc "${{ github.workspace }}/code-samples/$file" if [ $? -eq 0 ]; then echo -e "\e[1;32m\u2705 File fulfilled expectations\e[0m" else