Skip to content

Commit 6f59dc1

Browse files
committed
try subst B:
1 parent 0f7ffd6 commit 6f59dc1

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/test-prime.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,6 @@ jobs:
6666
Write-Host "Long Path Support enabled"
6767
shell: powershell
6868

69-
- name: 'Create short build path for MinGW compatibility'
70-
run: |
71-
# Create a very short path for build to avoid MinGW path length issues
72-
mkdir D:\t
73-
Write-Host "Created short build directory: D:\t"
74-
shell: powershell
75-
7669
- name: 'Show environment'
7770
run: |
7871
uname -a
@@ -87,18 +80,25 @@ jobs:
8780
uses: actions/checkout@v5
8881
with:
8982
fetch-depth: 3
90-
path: D:\t # Use short path to avoid MinGW path length issues
9183

9284
- name: 'Checkout helper ${{github.event.inputs.helper-git-ref}}'
9385
uses: actions/checkout@v5
9486
with:
9587
repository: xpack-dev-tools/xbb-helper-xpack
96-
path: D:\t\build-assets\xpacks\@xpack-dev-tools\xbb-helper
88+
path: build-assets/xpacks/@xpack-dev-tools/xbb-helper
9789
ref: ${{github.event.inputs.helper-git-ref}}
9890
fetch-depth: 3
9991

92+
- name: 'Create virtual drive for short paths'
93+
run: |
94+
# Create virtual drive B: pointing to current directory to shorten paths
95+
subst B: ${{ github.workspace }}
96+
dir B:\
97+
echo "Virtual drive B: created pointing to workspace"
98+
shell: cmd
99+
100100
- name: 'Run ${{github.event.inputs.version}} native test'
101-
working-directory: D:\t
101+
working-directory: B:\
102102
run: bash build-assets/scripts/test.sh --version ${{github.event.inputs.version}} --base-url ${{github.event.inputs.base_url}} --develop
103103

104104

0 commit comments

Comments
 (0)