mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-03 12:21:35 +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
|
echo "curl_retry=${curl_retry}" >> $GITHUB_ENV
|
||||||
# GAMCFGDIR should be recreated on every run
|
# GAMCFGDIR should be recreated on every run
|
||||||
GAMCFGDIR="${RUNNER_TEMP}/.gam"
|
GAMCFGDIR="${RUNNER_TEMP}/.gam"
|
||||||
|
if [ "$arch" == "Win64" ]; then
|
||||||
|
GAMCFGDIR=$(cygpath -u "$GAMCFGDIR")
|
||||||
|
fi
|
||||||
echo "GAMCFGDIR=${GAMCFGDIR}" >> $GITHUB_ENV
|
echo "GAMCFGDIR=${GAMCFGDIR}" >> $GITHUB_ENV
|
||||||
|
echo "GAMCFGDIR is: ${GAMCFGDIR}"
|
||||||
|
|
||||||
- name: Set env variables for test
|
- name: Set env variables for test
|
||||||
if: matrix.goal == 'test'
|
if: matrix.goal == 'test'
|
||||||
|
|||||||
Reference in New Issue
Block a user