Skip to content

Commit 4b7e8e3

Browse files
committed
Real path fix (II)
1 parent 1194268 commit 4b7e8e3

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

action.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,18 @@ inputs:
2121
runs:
2222
using: 'composite'
2323
steps:
24-
- name: Setting env variables...
24+
- name: Setting initial data...
2525
run: |
26-
GENERATOR_DOCS_PATH=$(php ${{ github.action_path }}/bin/realpath.php "${{ inputs.output_path }}")
26+
mkdir -p "${{ inputs.output_path }}" || true
27+
28+
GENERATOR_DOCS_PATH=$(php ${{ github.action_path }}/bin/realpath.php "${{ inputs.output_path }}")
2729
GENERATOR_TMP_FILES_PATH="${{ runner.temp }}/phpdocs-${{ github.sha }}-${{ github.run_id }}-${{ github.github.run_attempt }}"
2830
2931
echo "GENERATOR_TMP_FILES_PATH=$GENERATOR_TMP_FILES_PATH" >> $GITHUB_ENV
3032
echo "GENERATOR_DOCS_PATH=$GENERATOR_DOCS_PATH" >> $GITHUB_ENV
31-
shell: bash
32-
33-
- name: Creating needed folders...
34-
run: |
33+
3534
rm -rf ${{ env.GENERATOR_TMP_FILES_PATH }} || true
3635
mkdir -p ${{ env.GENERATOR_TMP_FILES_PATH }}
37-
mkdir -p "${{ inputs.output_path }}" || true
3836
shell: bash
3937

4038
- name: Running phpDocumentator...

0 commit comments

Comments
 (0)