File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed
Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change 6868 contains(["edge_td"])
6969 )
7070 )
71- | {name, ip: .ip_address }
71+ | {name, labels }
7272 )' "$response_file")
7373
7474 # 验证JSON有效性
8282
8383 # 使用JSON格式输出
8484 echo "runners=$filtered_runners" >> $GITHUB_OUTPUT
85- # response=$(/orgs/${{ github.repository_owner }}/actions/runners)
86- # if [ -z "$response" ]; then
87- # echo "No response from GitHub API"
88- # exit 1
89- # else
90- # echo "Response from GitHub API: $response"
91- # fi
92- # available_runners=$(/orgs/${{ github.repository_owner }}/actions/runners | jq -r '.runners[] | select(.labels | any(.name | contains("fractal") or contains("edge_td"))) | {name: .name, ip: .ip_address}')
93- # echo "Available runners: $available_runners"
94- # echo "runners=$available_runners" >> $GITHUB_OUTPUT
9585
9686 # call-install:
9787 # runs-on:
You can’t perform that action at this time.
0 commit comments