From 3785ff5008a491b4fb49b5b3d9f7e1a52949f941 Mon Sep 17 00:00:00 2001 From: Alexandre Pires Date: Tue, 1 Oct 2024 22:53:37 +0200 Subject: [PATCH] Refactor get-host-info action.yml to use hyphenated naming convention for the output variable and remove unnecessary echo statement --- .github/actions/get-host-info/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/get-host-info/action.yml b/.github/actions/get-host-info/action.yml index 48104dd..6cabc5b 100644 --- a/.github/actions/get-host-info/action.yml +++ b/.github/actions/get-host-info/action.yml @@ -11,7 +11,7 @@ inputs: description: "The target host to read the system ID" default: "microk8s" outputs: - system_id: + system-id: description: "The system ID of the target host" value: ${{ steps.get-system-id.outputs.system-id }} @@ -28,4 +28,4 @@ runs: TARGET_HOST: ${{ inputs.target-host }} run: | system_id=$(ansible -i ansible/inventory/hosts -b -u $ANSIBLE_USER -m shell -a "read_system_id" $TARGET_HOST | tail -1) - echo "system-id=$system_id" >> $GITHUB_OUTPUT + echo "system-id=$system-id" >> $GITHUB_OUTPUT