Skip to content

Commit 4c121e3

Browse files
authored
Fix output file handling for components that contain slashes (#14)
* Fix output file handling; * fix whitespace * squash the slash instead * more terse syntax
1 parent 54fbb6c commit 4c121e3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

action.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ runs:
2424
- id: settings
2525
shell: bash
2626
run: |
27-
OUTPUT_FILE="${{ inputs.stack }}-${{ inputs.component }}.json"
27+
OUTPUT_FILE="$(tr / _ <<<${{ inputs.stack }}-${{ inputs.component }}.json)"
28+
29+
# Extract the settings value from the component's stack configuration
2830
atmos describe component \
2931
${{ inputs.component }} \
3032
-s ${{ inputs.stack }} \

0 commit comments

Comments
 (0)