Skip to content

Commit 55da681

Browse files
committed
Expand $GITHUB_WORKSPACE before writing to palace script in CI
1 parent e387863 commit 55da681

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/test_code.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ jobs:
115115
run: |
116116
# Create a shell script that acts as an alias for palace
117117
echo '#!/bin/bash' > palace
118-
echo 'sudo apptainer run "$GITHUB_WORKSPACE/palace.sif" "$@"' >> palace
118+
echo "sudo apptainer run $GITHUB_WORKSPACE/palace.sif \"\$@\" " >> palace
119119
chmod +x palace
120120
echo "$GITHUB_WORKSPACE" >> $GITHUB_PATH
121121
echo "Palace executable created successfully"

0 commit comments

Comments
 (0)