Skip to content

Commit 939bd1f

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

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ jobs:
6565
defaults:
6666
run:
6767
shell: ${{ contains(matrix.os, 'windows') && 'msys2 {0}' || 'bash' }}
68+
# linux not exist
69+
working-directory: d:/a/rust/rust
6870
timeout-minutes: 240
6971
env:
7072
CI_JOB_NAME: ${{ matrix.image }}
@@ -80,6 +82,13 @@ jobs:
8082
# Check the `calculate_matrix` job to see how is the matrix defined.
8183
include: ${{ fromJSON(needs.calculate_matrix.outputs.jobs) }}
8284
steps:
85+
- name: create working dir for windows runner
86+
if: contains(matrix.os, 'windows')
87+
shell: bash
88+
run: |
89+
echo ${{ github.workspace }}
90+
mkdir -p d:/a/rust/rust
91+
8392
- if: contains(matrix.os, 'windows')
8493
uses: msys2/[email protected]
8594
with:

0 commit comments

Comments
 (0)