File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 5252 - name : fetch and build libcmark-gfm.so
5353 if : ${{ inputs.gfm == 'true' }}
5454 shell : bash
55+ env :
56+ WORKDIR : /opt/pelican-asf # where to build GFM
5557 run : |
5658 {
5759 # disable stdout unless debug is on
@@ -62,15 +64,16 @@ runs:
6264 exec >/dev/null
6365 fi
6466 # Don't pollute site checkout
65- pushd .. # .. must agree with LIBCMARKDIR
67+ mkdir -p $WORKDIR
68+ pushd $WORKDIR
6669 bash ${{ github.action_path }}/build-cmark.sh
6770 popd
71+ # ensure LIBCMARKDIR is defined for subsequent steps
72+ echo "LIBCMARKDIR=${WORKDIR}/cmark-gfm-0.28.3.gfm.12/lib" >> $GITHUB_ENV
6873 }
6974
7075 - name : Generate website from markdown
7176 shell : bash
72- env : # in case we are using GFM (otherwise ignored)
73- LIBCMARKDIR : " ../cmark-gfm-0.28.3.gfm.12/lib"
7477 run : |
7578 if [ "${{ inputs.debug }}" == 'true' ]
7679 then
You can’t perform that action at this time.
0 commit comments