Skip to content

Commit 2716167

Browse files
committed
try short path
1 parent 8c84ffc commit 2716167

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/test-prime.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,13 @@ 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+
6976
- name: 'Show environment'
7077
run: |
7178
uname -a
@@ -80,16 +87,18 @@ jobs:
8087
uses: actions/checkout@v5
8188
with:
8289
fetch-depth: 3
90+
path: D:\b # Use short path to avoid MinGW path length issues
8391

8492
- name: 'Checkout helper ${{github.event.inputs.helper-git-ref}}'
8593
uses: actions/checkout@v5
8694
with:
8795
repository: xpack-dev-tools/xbb-helper-xpack
88-
path: build-assets/xpacks/@xpack-dev-tools/xbb-helper
96+
path: D:\b\build-assets\xpacks\@xpack-dev-tools\xbb-helper
8997
ref: ${{github.event.inputs.helper-git-ref}}
9098
fetch-depth: 3
9199

92100
- name: 'Run ${{github.event.inputs.version}} native test'
101+
working-directory: D:\b
93102
run: bash build-assets/scripts/test.sh --version ${{github.event.inputs.version}} --base-url ${{github.event.inputs.base_url}} --develop
94103

95104

0 commit comments

Comments
 (0)