Skip to content

Commit

Permalink
[skip ci] try to use D drive on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
klensy committed Nov 14, 2024
1 parent 1f099ff commit 7e63636
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ jobs:
defaults:
run:
shell: ${{ contains(matrix.os, 'windows') && 'msys2 {0}' || 'bash' }}
working-directory: ${{ contains(matrix.os, 'windows') && 'D:/a/rust/rust' }}
timeout-minutes: 240
env:
CI_JOB_NAME: ${{ matrix.image }}
Expand All @@ -80,6 +81,10 @@ jobs:
# Check the `calculate_matrix` job to see how is the matrix defined.
include: ${{ fromJSON(needs.calculate_matrix.outputs.jobs) }}
steps:
- name: create working dir for windows runner
if: contains(matrix.os, 'windows')
run: cd /d/ && mkdir -p /a/rust/rust

- if: contains(matrix.os, 'windows')
uses: msys2/[email protected]
with:
Expand Down

0 comments on commit 7e63636

Please sign in to comment.