File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,9 @@ jobs:
115115 .\.venv\Scripts\Activate.ps1
116116 # Write command to file dbug.txt for debugging purposes
117117 echo "docker run --detach --name $env:GEO_CONT_NAME -e LICENSE_SERVER=$env:ANSRV_GEO_LICENSE_SERVER $env:SERVER_ENDPOINT -p $env:PORT_MAPPING $env:FULL_IMAGE_NAME $env:TRANSPORT_MODE_SELECTION" | Out-File -FilePath dbug.txt -Append
118- docker run --detach --name $env:GEO_CONT_NAME -e LICENSE_SERVER=$env:ANSRV_GEO_LICENSE_SERVER $env:SERVER_ENDPOINT -p $env:PORT_MAPPING $env:FULL_IMAGE_NAME $env:TRANSPORT_MODE_SELECTION
118+ # Read the file and execute the command
119+ $command = Get-Content -Path dbug.txt | Select-String -Pattern "docker run"
120+ Invoke-Expression $command.Line
119121 Start-Sleep -Seconds 10
120122 python -c "from ansys.geometry.core.connection.validate import validate; validate()"
121123
You can’t perform that action at this time.
0 commit comments