File tree Expand file tree Collapse file tree
testcases/ground-to-cloud Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,13 +18,13 @@ uv sync
1818echo " Authenticating with UiPath..."
1919uv run uipath auth --client-id=" $CLIENT_ID " --client-secret=" $CLIENT_SECRET " --base-url=" $BASE_URL "
2020
21- # Now overwrite just the ACCESS_TOKEN with PAT_TOKEN
22- if [ -n " $PAT_TOKEN " ]; then
23- # Use sed to replace only the active UIPATH_ACCESS_TOKEN line (not commented ones)
24- sed -i " s|^UIPATH_ACCESS_TOKEN=.*|UIPATH_ACCESS_TOKEN=$PAT_TOKEN |" .env
25- else
26- echo " Warning: PAT_TOKEN environment variable is not set!"
27- fi
21+ # # Now overwrite just the ACCESS_TOKEN with PAT_TOKEN
22+ # if [ -n "$PAT_TOKEN" ]; then
23+ # # Use sed to replace only the active UIPATH_ACCESS_TOKEN line (not commented ones)
24+ # sed -i "s|^UIPATH_ACCESS_TOKEN=.*|UIPATH_ACCESS_TOKEN=$PAT_TOKEN|" .env
25+ # else
26+ # echo "Warning: PAT_TOKEN environment variable is not set!"
27+ # fi
2828
2929echo " Packing agent..."
3030uv run uipath pack
You can’t perform that action at this time.
0 commit comments