Skip to content

Commit

Permalink
update new-device.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bmos committed Dec 15, 2023
1 parent 81cc448 commit 14be150
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/new-device.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,8 @@ jobs:
if not duplicate_found:
devices.append(new_device)
# Save manufacturer and model info as outputs
print(f"::set-output name=manufacturer::{new_device['manufacturer']}")
print(f"::set-output name=model::{new_device['model']}")
print(f"'manufacturer={device["manufacturer"]}'' >> $GITHUB_OUTPUT")
print(f"'model={device["model"]}'' >> $GITHUB_OUTPUT")
with open("custom_components/battery_notes/data/library.json", "w") as f:
f.write(json.dumps(devices_json, indent=2))
Expand Down

0 comments on commit 14be150

Please sign in to comment.