From 96e59602c0bb411defb32cc3a40e2f99e2673c3e Mon Sep 17 00:00:00 2001 From: Federico Di Pierro Date: Thu, 8 Feb 2024 09:29:10 +0100 Subject: [PATCH 1/2] cleanup: dropped useless step in action.yml. Signed-off-by: Federico Di Pierro --- action.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/action.yml b/action.yml index 05362cc..f30eec1 100644 --- a/action.yml +++ b/action.yml @@ -34,10 +34,6 @@ runs: env: ACTION_REF: ${{ github.action_ref }} - - name: Store architecture variable - id: var - run: echo "architecture=$(uname -m)" >> $GITHUB_OUTPUT - - name: Generate vars yaml working-directory: ./ansible-playbooks run: | From 9e5df1261135260097ea0ca21e075ba108b028aa Mon Sep 17 00:00:00 2001 From: Federico Di Pierro Date: Thu, 8 Feb 2024 09:36:29 +0100 Subject: [PATCH 2/2] chore: add `shell`. Signed-off-by: Federico Di Pierro --- action.yml | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/action.yml b/action.yml index f30eec1..e61db52 100644 --- a/action.yml +++ b/action.yml @@ -36,6 +36,7 @@ runs: - name: Generate vars yaml working-directory: ./ansible-playbooks + shell: bash run: | cat > vars.yml <> $GITHUB_OUTPUT echo "matrix=${{ github.action_path }}/matrix_gen/matrix.md" >> $GITHUB_OUTPUT @@ -90,5 +93,5 @@ runs: - name: Cleanup if: always() working-directory: ./ansible-playbooks - run: | - ansible-playbook clean-up.yml --extra-vars "@vars.yml" || : + shell: bash + run: ansible-playbook clean-up.yml --extra-vars "@vars.yml" || :