File tree Expand file tree Collapse file tree 1 file changed +16
-16
lines changed Expand file tree Collapse file tree 1 file changed +16
-16
lines changed Original file line number Diff line number Diff line change @@ -91,23 +91,23 @@ jobs:
9191
9292 - name : ' Move workspace to short path for MinGW compatibility'
9393 run : |
94- # Create short path directory
94+ REM Create short path directory
9595 mkdir D:\t
96- echo " Created D:\t directory"
97-
98- # Move entire workspace to short path
99- echo " Moving workspace from ${{ github.workspace }} to D:\t..."
100- robocopy "${{ github.workspace }} " "D:\t" /E /MOVE /NFL /NDL /NJH /NJS /NC /NS
101-
102- # Verify the move
103- if [ -d "D:\t\build-assets" ]; then
104- echo " ✓ Workspace successfully moved to D:\t"
105- ls -la D:\t
106- else
107- echo " ✗ Failed to move workspace"
108- exit 1
109- fi
110- shell : bash
96+ echo Created D:\t directory
97+
98+ REM Move entire workspace to short path
99+ echo Moving workspace to D:\t...
100+ robocopy "%GITHUB_WORKSPACE% " "D:\t" /E /MOVE /NFL /NDL /NJH /NJS /NC /NS
101+
102+ REM Check if robocopy succeeded (exit codes 0-3 are success for robocopy)
103+ if %ERRORLEVEL% LEQ 3 (
104+ echo ✓ Workspace successfully moved to D:\t
105+ dir D:\t
106+ ) else (
107+ echo ✗ Failed to move workspace, robocopy exit code: %ERRORLEVEL%
108+ exit /b 1
109+ )
110+ shell : cmd
111111
112112 - name : ' Run ${{github.event.inputs.version}} native test'
113113 working-directory : D:\t
You can’t perform that action at this time.
0 commit comments