File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 5757 - name : Setup environment
5858 shell : bash
5959 run : |
60+ # Ensure node_modules folder will have correct permissions
6061 mkdir -p ${{github.action_path}}/node_modules
6162
63+ # Ensure parent directory containing output file exists
64+ mkdir -p $(dirname "${{ github.workspace }}/${{ inputs.output }}")
65+
6266 # Ensure docker container can write this workspace as an unprivileged user
6367 chmod ugoa+rw -R ${{ github.workspace }} ${{github.action_path}}
6468
7175 ${{ inputs.customizations }}
7276 __EOF__
7377
74- # Ensure parent directory of output file exists
75- mkdir -p $(dirname "${{ github.workspace }}/${{ inputs.output }}")
76-
7778 # Prepare inputs that should be passed to the docker container.
7879 cat<<__EOF__>docker.env
7980 GITHUB_WORKSPACE=${{ github.workspace }}
You can’t perform that action at this time.
0 commit comments