mirror of
https://github.com/libgit2/libgit2.git
synced 2026-06-22 06:26:26 +00:00
ci: optional BUILD_WORKSPACE
Setup scripts can change BUILD_WORKSPACE, for instance, if they use a different format for paths, they can replace with `cygpath` variants.
This commit is contained in:
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
@@ -238,14 +238,14 @@ jobs:
|
||||
- name: Build
|
||||
uses: ./source/.github/actions/run-build
|
||||
with:
|
||||
command: cd build && ../source/ci/build.sh
|
||||
command: cd ${BUILD_WORKSPACE:-.}/build && ../source/ci/build.sh
|
||||
container: ${{ matrix.platform.container.name }}
|
||||
container-version: ${{ env.docker-registry-container-sha }}
|
||||
shell: ${{ matrix.platform.shell }}
|
||||
- name: Test
|
||||
uses: ./source/.github/actions/run-build
|
||||
with:
|
||||
command: cd build && ../source/ci/test.sh
|
||||
command: cd ${BUILD_WORKSPACE:-.}/build && ../source/ci/test.sh
|
||||
container: ${{ matrix.platform.container.name }}
|
||||
container-version: ${{ env.docker-registry-container-sha }}
|
||||
shell: ${{ matrix.platform.shell }}
|
||||
|
||||
Reference in New Issue
Block a user