mirror of
https://github.com/GAM-team/GAM.git
synced 2026-06-28 18:01:36 +00:00
actions: use cygpath to fix GAMCFGDIR on Windows
This commit is contained in:
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user