From 71061c395f2fbbde40f4dd50af6816fa7c0cf9d1 Mon Sep 17 00:00:00 2001 From: Jean-Marie Burel Date: Thu, 25 Jan 2024 11:36:06 +0000 Subject: [PATCH] split name --- .github/workflows/molecule.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/molecule.yml b/.github/workflows/molecule.yml index 96f977b..a240db1 100644 --- a/.github/workflows/molecule.yml +++ b/.github/workflows/molecule.yml @@ -52,7 +52,8 @@ jobs: - name: Read the role name id: role-name run: | - name=$(grep 'role_name' meta/main.yml | sed -r 's/^[^:]*:(.*)$/\1/' | tr -d '[:space:]') # noqa + name=$(grep 'role_name' meta/main.yml) + name=$name | sed -r 's/^[^:]*:(.*)$/\1/' | tr -d '[:space:]' echo "rolename=$name" >> "$GITHUB_OUTPUT" - name: Publish to Galaxy uses: ome/action-ansible-galaxy-publish@main