Update install_pr.sh

Only run named  'Hyperion PR Build' have artifacts
This commit is contained in:
LordGrey 2023-09-06 20:08:20 +02:00 committed by GitHub
parent a5bb7e905b
commit 7909997398
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -136,7 +136,7 @@ import json,sys
data = json.load(sys.stdin)
for i in data['workflow_runs']:
if i['head_sha'] == '"$head_sha"':
if i['head_sha'] == '"$head_sha"' and i['name'] == 'Hyperion PR Build':
print(i['id'])
break
""" 2>/dev/null)