Skip to content

Commit 6a229a1

Browse files
committed
[skip ci] try to use D drive on windows
1 parent 1f099ff commit 6a229a1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/ci.yml

+7
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ jobs:
6565
defaults:
6666
run:
6767
shell: ${{ contains(matrix.os, 'windows') && 'msys2 {0}' || 'bash' }}
68+
working-directory: ${{ contains(matrix.os, 'windows') && 'D:/a/rust/rust' }}
6869
timeout-minutes: 240
6970
env:
7071
CI_JOB_NAME: ${{ matrix.image }}
@@ -80,6 +81,12 @@ jobs:
8081
# Check the `calculate_matrix` job to see how is the matrix defined.
8182
include: ${{ fromJSON(needs.calculate_matrix.outputs.jobs) }}
8283
steps:
84+
- name: create working dir for windows runner
85+
if: contains(matrix.os, 'windows')
86+
run: |
87+
cd /d/
88+
mkdir -p a/rust/rust
89+
8390
- if: contains(matrix.os, 'windows')
8491
uses: msys2/[email protected]
8592
with:

0 commit comments

Comments
 (0)