Skip to content

Commit

Permalink
Merge !1463: ci macOS: update Knot DNS
Browse files Browse the repository at this point in the history
  • Loading branch information
vcunat committed Oct 23, 2023
2 parents ab25150 + 50eb5ca commit eb11cce
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/macOS.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: macOS-latest
strategy:
matrix:
knot-version: ['3.1', '3.2']
knot-version: ['3.2', '3.3']

steps:
- name: Checkout resolver code
Expand Down
9 changes: 5 additions & 4 deletions ci/gh_actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,11 @@ def exit(msg='', html_url='', code=1):
elif response.status_code == 200:
data = json.loads(response.content.decode('utf-8'))
try:
run = data['workflow_runs'][0]
conclusion = run['conclusion']
html_url = run['html_url']
commit_sha = run['head_sha']
for i in range(0, 1): # two runs ATM
run = data['workflow_runs'][i]
conclusion = run['conclusion']
html_url = run['html_url']
commit_sha = run['head_sha']
except (KeyError, IndexError):
time.sleep(POLL_DELAY)
continue
Expand Down

0 comments on commit eb11cce

Please sign in to comment.