git.iko.soy/typeable/pandoc
on master help sign in
Nightly - fix windows renaming with suffix.
d617f59John MacFarlane
.github/workflows/nightly.yml+4−4
@@ -61,14 +61,14 @@ jobs:
61 set SUFFIX=nightly-%THEDATE%
61 set SUFFIX=nightly-%THEDATE%
62 set ARTIFACTS=nightly-windows
62 set ARTIFACTS=nightly-windows
63 mkdir %ARTIFACTS%
63 mkdir %ARTIFACTS%
64− stack path
65 stack build pandoc pandoc-citeproc
64 stack build pandoc pandoc-citeproc
66− forfiles /P .\.stack-work\install /M pandoc*.exe /S /C "cmd /C echo @path %ARTIFACTS%"
67 forfiles /P .\.stack-work\install /M pandoc*.exe /S /C "cmd /C copy @path %ARTIFACTS%"
65 forfiles /P .\.stack-work\install /M pandoc*.exe /S /C "cmd /C copy @path %ARTIFACTS%"
68 copy COPYRIGHT %ARTIFACTS%
66 copy COPYRIGHT %ARTIFACTS%
69− ren %ARTIFACTS%\pandoc pandoc-%SUFFIX%
70− ren %ARTIFACTS%\pandoc-citeproc pandoc-citeproc-%SUFFIX%
71 ren %ARTIFACTS%\COPYRIGHT COPYRIGHT.txt
67 ren %ARTIFACTS%\COPYRIGHT COPYRIGHT.txt
68+ dir %ARTIFACTS%
69+ ren %ARTIFACTS%\pandoc.exe pandoc-%SUFFIX%.exe
70+ ren %ARTIFACTS%\pandoc-citeproc.exe pandoc-citeproc-%SUFFIX%.exe
71+ dir %ARTIFACTS%
72 echo Built from %GITHUB_SHA% > %ARTIFACTS%\README.nightly.txt
72 echo Built from %GITHUB_SHA% > %ARTIFACTS%\README.nightly.txt
73 - uses: actions/upload-artifact@master
73 - uses: actions/upload-artifact@master
74 with:
74 with: