From 6031e41b26fbad3c225b22ad3fc67216485984d1 Mon Sep 17 00:00:00 2001 From: Jake Lishman Date: Tue, 15 Oct 2024 12:55:40 +0100 Subject: [PATCH] New quoting --- .github/workflows/wheels-build.yml | 19 +++++++++++-------- tools/build_pgo.sh | 15 +++++++-------- 2 files changed, 18 insertions(+), 16 deletions(-) diff --git a/.github/workflows/wheels-build.yml b/.github/workflows/wheels-build.yml index affa432386da..822a6cacb2d9 100644 --- a/.github/workflows/wheels-build.yml +++ b/.github/workflows/wheels-build.yml @@ -112,17 +112,20 @@ jobs: # # Beware that the heredoc is configured to expand bash variables, but cibuildwheel has # special handling for certain variables (`$PATH`, in particular), so you may need to escape - # some dollar signs to pass those through to cibuildwheel as variables, not expanded. - # Windows paths with backslashes need to be escaped twice - once to get the backslash - # through the heredoc, and once to get it through the shell expansion in cibuildwheel. + # some dollar signs to pass those through to cibuildwheel as variables, or use single quotes + # to prevent shell expansion. run: | + set -e + mkdir -p "$PGO_WORK_DIR" + cat >>"$GITHUB_ENV" <