Skip to content

Commit 67d2f33

Browse files
committed
fix: update_victron_mqtt workflow YAML syntax error
The bash heredoc body was not indented, breaking YAML parsing. Replaced with printf to keep everything on one line.
1 parent d848a3f commit 67d2f33

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

.github/workflows/update_victron_mqtt.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,7 @@ jobs:
7676
rm -rf custom_components/victron_mqtt/_vendor/victron_mqtt/utils
7777
7878
# Write version constant to _vendor/__init__.py
79-
cat > custom_components/victron_mqtt/_vendor/__init__.py << PYEOF
80-
"""Vendored third-party packages."""
81-
82-
VICTRON_MQTT_VERSION = "$latest"
83-
PYEOF
79+
printf '"""Vendored third-party packages."""\n\nVICTRON_MQTT_VERSION = "%s"\n' "$latest" > custom_components/victron_mqtt/_vendor/__init__.py
8480
8581
# Cleanup
8682
rm -rf /tmp/victron_wheel /tmp/victron_extracted

0 commit comments

Comments
 (0)