Skip to content

Commit f662540

Browse files
authored
fetching id_token and refresh_token separately (#3620)
Signed-off-by: Sachin Pisal <[email protected]>
1 parent bb4678c commit f662540

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/integration_tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,6 @@ jobs:
315315
id: set-matrix
316316
run: |
317317
# Determine which providers to test based on inputs and event type
318-
# Disabling anyon, please see https://github.com/NVIDIA/cuda-quantum/issues/3598
319318
if [[ "${{ github.event_name }}" == "schedule" || "${{ inputs.target }}" == "nightly" ]]; then
320319
providers='["anyon", "fermioniq", "infleqtion", "ionq", "iqm", "oqc", "orca", "pasqal", "qci", "quantinuum"]'
321320
else
@@ -417,7 +416,8 @@ jobs:
417416
exit 1
418417
}
419418
rm -f "$TEMP_NETRC"
420-
read -r id_token refresh_token < <(echo "$response" | jq -r '.id_token, .refresh_token')
419+
id_token=$(printf '%s' "$response" | jq -r '.id_token')
420+
refresh_token=$(printf '%s' "$response" | jq -r '.refresh_token')
421421
echo "::add-mask::$id_token"
422422
echo "::add-mask::$refresh_token"
423423
printf "key: %s\nrefresh: %s\n" "$id_token" "$refresh_token" > "$HOME/.anyon_config"

0 commit comments

Comments
 (0)