fix BUILD_ROOT

`C:` is the CWD on drive C, `C:\` is the root of drive C.
This commit is contained in:
jeremyd2019 2021-10-24 12:54:21 -07:00 committed by Christoph Reiter
parent 067f5c1ecd
commit a4ab5bc26b

View File

@ -142,7 +142,7 @@ jobs:
GITHUB_RUN_NAME: ${{ matrix.name }} GITHUB_RUN_NAME: ${{ matrix.name }}
run: | run: |
$env:PACKAGER='CI (msys2-autobuild/' + $env:GITHUB_SHA.Substring(0, 8) + '/' + $env:GITHUB_RUN_ID + ')' $env:PACKAGER='CI (msys2-autobuild/' + $env:GITHUB_SHA.Substring(0, 8) + '/' + $env:GITHUB_RUN_ID + ')'
$BUILD_ROOT='C:' $BUILD_ROOT='C:\'
$MSYS2_ROOT=(msys2 -c 'cygpath -w /') $MSYS2_ROOT=(msys2 -c 'cygpath -w /')
Get-PSDrive -PSProvider FileSystem Get-PSDrive -PSProvider FileSystem
python -u autobuild.py build ${{ matrix.build-args }} "$MSYS2_ROOT" "$BUILD_ROOT" python -u autobuild.py build ${{ matrix.build-args }} "$MSYS2_ROOT" "$BUILD_ROOT"