From 11130b637cad28f3316900a89a1cdab36d97d09f Mon Sep 17 00:00:00 2001 From: Edward Firmo <94725493+edwardtfn@users.noreply.github.com> Date: Mon, 4 Nov 2024 11:50:32 +0100 Subject: [PATCH] Get version from the right file --- .github/workflows/validate_esphome.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/validate_esphome.yml b/.github/workflows/validate_esphome.yml index 7f397c567..4779e9774 100644 --- a/.github/workflows/validate_esphome.yml +++ b/.github/workflows/validate_esphome.yml @@ -362,9 +362,9 @@ jobs: - name: Extract Version Number id: extract_version run: | - VERSION=$(yq eval '.substitutions.version' esphome/nspanel_esphome_core_versioning.yaml) + VERSION=$(yq eval '.substitutions.version' esphome/nspanel_esphome_core_version.yaml) if [ -z "$VERSION" ]; then - echo "Error: No version found in esphome/nspanel_esphome_core_versioning.yaml" + echo "Error: No version found in esphome/nspanel_esphome_core_version.yaml" exit 1 fi echo "Extracted Version: ${VERSION}"