File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7272 ca-certificates \
7373 curl \
7474 gnupg \
75- lsb-release
75+ lsb-release \
76+ jq
7677 mkdir -p /etc/apt/keyrings
7778 curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
7879 echo \
@@ -104,7 +105,8 @@ jobs:
104105 ca-certificates \
105106 curl \
106107 gnupg \
107- lsb-release
108+ lsb-release \
109+ jq
108110 mkdir -p /etc/apt/keyrings
109111 curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
110112 echo \
Original file line number Diff line number Diff line change @@ -46,4 +46,8 @@ token=$(curl -sSL --request POST \
4646--header " Accept: application/vnd.github+json" \
4747--header " Authorization: Bearer $JWT " \
4848--header " X-GitHub-Api-Version: 2026-03-10" | jq -r ' .token' )
49+ if [[ " $token " == " " ]]; then
50+ echo " Failed to get token" >&2
51+ exit 1
52+ fi
4953echo " $token "
You can’t perform that action at this time.
0 commit comments