We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ffde5de commit de19122Copy full SHA for de19122
1 file changed
.github/workflows/benchmark.yml
@@ -56,12 +56,11 @@ jobs:
56
- name: Get GitHub runner registration token
57
id: reg-token
58
run: |
59
- RESPONSE=$(curl -fsSX POST \
+ TOKEN=$(curl -fsSX POST \
60
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
61
-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)
+ "https://api.github.com/repos/${{ github.repository }}/actions/runners/registration-token" \
+ | jq -r .token)
65
echo "token=$TOKEN" >> "$GITHUB_OUTPUT"
66
67
- name: Launch EC2 instance
0 commit comments