Skip to content

Commit de19122

Browse files
committed
Revert "Debug token fetch"
This reverts commit d54abed.
1 parent ffde5de commit de19122

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/benchmark.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,11 @@ jobs:
5656
- name: Get GitHub runner registration token
5757
id: reg-token
5858
run: |
59-
RESPONSE=$(curl -fsSX POST \
59+
TOKEN=$(curl -fsSX POST \
6060
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
6161
-H "Accept: application/vnd.github+json" \
62-
"https://api.github.com/repos/${{ github.repository }}/actions/runners/registration-token")
63-
echo "API response: $RESPONSE"
64-
TOKEN=$(echo "$RESPONSE" | jq -r .token)
62+
"https://api.github.com/repos/${{ github.repository }}/actions/runners/registration-token" \
63+
| jq -r .token)
6564
echo "token=$TOKEN" >> "$GITHUB_OUTPUT"
6665
6766
- name: Launch EC2 instance

0 commit comments

Comments
 (0)