actions: use cygpath to fix GAMCFGDIR on Windows

This commit is contained in:
Jay Lee
2023-07-25 14:58:16 -04:00
committed by GitHub
parent f9b90b4ce6
commit 1590b7e927

View File

@@ -131,7 +131,11 @@ jobs:
echo "curl_retry=${curl_retry}" >> $GITHUB_ENV
# GAMCFGDIR should be recreated on every run
GAMCFGDIR="${RUNNER_TEMP}/.gam"
if [ "$arch" == "Win64" ]; then
GAMCFGDIR=$(cygpath -u "$GAMCFGDIR")
fi
echo "GAMCFGDIR=${GAMCFGDIR}" >> $GITHUB_ENV
echo "GAMCFGDIR is: ${GAMCFGDIR}"
- name: Set env variables for test
if: matrix.goal == 'test'