Skip to content

Commit

Permalink
Fix output file handling;
Browse files Browse the repository at this point in the history
  • Loading branch information
osterman committed Sep 14, 2023
1 parent 54fbb6c commit 6150772
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ runs:
shell: bash
run: |
OUTPUT_FILE="${{ inputs.stack }}-${{ inputs.component }}.json"
# Since a component name may contain a slash, we need to create the directories for the output file
mkdir -p "$(dirname ${OUTPUT_FILE})"

# Extract the settings value from the component's stack configuration
atmos describe component \
${{ inputs.component }} \
-s ${{ inputs.stack }} \
Expand Down

0 comments on commit 6150772

Please sign in to comment.