Skip to content

Commit

Permalink
Fix output file handling for components that contain slashes (#14)
Browse files Browse the repository at this point in the history
* Fix output file handling;

* fix whitespace

* squash the slash instead

* more terse syntax
  • Loading branch information
osterman authored Sep 15, 2023
1 parent 54fbb6c commit 4c121e3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }} \
Expand Down

0 comments on commit 4c121e3

Please sign in to comment.