Skip to content

Commit

Permalink
Fixes metadata path not found
Browse files Browse the repository at this point in the history
  • Loading branch information
ultimaweapon committed Oct 17, 2024
1 parent 3f52bc8 commit 2b99f35
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,8 @@ jobs:
line = json.loads(line)
reason = line["reason"]
if reason == "build-finished":
if line["success"]:
break
else:
sys.exit(1)
ok = line["success"]
break
elif reason == "build-script-executed":
for env in line["env"]:
key = env[0]
Expand All @@ -46,6 +44,9 @@ jobs:
with open(os.environ["GITHUB_OUTPUT"], "a") as f:
print(f"meta={meta}", file=f)
if !ok:
sys.exit(1)
shell: python
id: example
- name: Upload example metadata
Expand Down

0 comments on commit 2b99f35

Please sign in to comment.