Skip to content

Commit 0398fd2

Browse files
authored
env variable escaping fix
1 parent 1f0d689 commit 0398fd2

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

action.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,12 @@ runs:
6363
output_file: ${{ env.PHP_CLASSES_FILTERED_FILE }}
6464

6565
- name: Generating generator config...
66-
run: php ${{ github.action_path }}/generate-config.php "${{ env.COPY_DATA_PATH }}/.phpdoc-md" "${{ env.PHP_CLASSES_FILTERED_FILE }}" "${{ inputs.class_root_namespace }}" "${{ inputs.output_path }}"
66+
env:
67+
ACTION_PATH: ${{ github.action_path }}
68+
PHPDOCMD_FILE: ${{ env.$COPY_DATA_PATH }}/.phpdoc-md
69+
CLASS_ROOT_NAMESPACE: ${{ inputs.class_root_namespace }}
70+
DOCS_PATH: ${{ inputs.output_path }}
71+
run: php $ACTION_PATH/generate-config.php "$PHPDOCMD_FILE" "$PHP_CLASSES_FILTERED_FILE" "$CLASS_ROOT_NAMESPACE" "$DOCS_PATH"
6772
shell: bash
6873

6974
- name: Including documentation generator...

0 commit comments

Comments
 (0)