From 4c121e367e5ab071d94b90d188c88e8091823f5f Mon Sep 17 00:00:00 2001 From: "Erik Osterman (CEO @ Cloud Posse)" Date: Fri, 15 Sep 2023 07:24:45 -0500 Subject: [PATCH] Fix output file handling for components that contain slashes (#14) * Fix output file handling; * fix whitespace * squash the slash instead * more terse syntax --- action.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 3f7afc7..ef98106 100644 --- a/action.yml +++ b/action.yml @@ -24,7 +24,9 @@ runs: - id: settings shell: bash run: | - OUTPUT_FILE="${{ inputs.stack }}-${{ inputs.component }}.json" + OUTPUT_FILE="$(tr / _ <<<${{ inputs.stack }}-${{ inputs.component }}.json)" + + # Extract the settings value from the component's stack configuration atmos describe component \ ${{ inputs.component }} \ -s ${{ inputs.stack }} \