CI: derive the build root from GITHUB_WORKSPACE
On hosted runners this means D:, on self-hosted it will point to C: if there is only one drive.
This commit is contained in:
parent
7ec5a79b46
commit
625631832e
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -185,5 +185,5 @@ jobs:
|
||||
MSYS2_ROOT: ${{ steps.msys2.outputs.msys2-location }}
|
||||
run: |
|
||||
$env:VCPKG_ROOT=''
|
||||
$BUILD_ROOT='D:\'
|
||||
$BUILD_ROOT=Join-Path (Split-Path $env:GITHUB_WORKSPACE -Qualifier) "\"
|
||||
python -m msys2_autobuild build ${{ matrix.build-args }} "$env:MSYS2_ROOT" "$BUILD_ROOT"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user