-
Notifications
You must be signed in to change notification settings - Fork 12.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[skip ci] try to use D drive on windows
- Loading branch information
Showing
1 changed file
with
5 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 }} | ||
|
@@ -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: | ||
|