From 81cc448b0d4dbd566ffd2a5942a2b24f8b42919e Mon Sep 17 00:00:00 2001 From: Wil Thieme Date: Fri, 15 Dec 2023 15:22:10 -0500 Subject: [PATCH] update new-device.yml --- .github/workflows/new-device.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/new-device.yml b/.github/workflows/new-device.yml index 81ee1f1c0..9f766e39d 100644 --- a/.github/workflows/new-device.yml +++ b/.github/workflows/new-device.yml @@ -56,8 +56,9 @@ jobs: if not duplicate_found: devices.append(new_device) - print(f"manufacturer={device["manufacturer"]} >> $GITHUB_OUTPUT") - print(f"model={device["model"]} >> $GITHUB_OUTPUT") + # 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']}") with open("custom_components/battery_notes/data/library.json", "w") as f: f.write(json.dumps(devices_json, indent=2))