git.iko.soy/typeable/pandoc
on master help sign in
Nightly - more windows tweaks.
5ebd510John MacFarlane
.github/workflows/nightly.yml+3−2
@@ -57,13 +57,14 @@ jobs:
57 shell: cmd
57 shell: cmd
58 run: |
58 run: |
59 for /f %%a in ('powershell -Command "Get-Date -format yyyy-MM-dd"') do set THEDATE=%%a
59 for /f %%a in ('powershell -Command "Get-Date -format yyyy-MM-dd"') do set THEDATE=%%a
60− set ARTIFACTS=nightly-windows\pandoc-nightly-windows-%THEDATE%
60+ set ARTIFACTS=.\nightly-windows\pandoc-nightly-windows-%THEDATE%
61+ setlocal enableextensions
61 mkdir %ARTIFACTS%
62 mkdir %ARTIFACTS%
63+ endlocal
62 stack build pandoc pandoc-citeproc
64 stack build pandoc pandoc-citeproc
63 forfiles /P .\.stack-work\install /M pandoc*.exe /S /C "cmd /C echo @path && dir @path && echo %ARTIFACTS% && dir %ARTIFACTS% && copy @path %ARTIFACTS%"
65 forfiles /P .\.stack-work\install /M pandoc*.exe /S /C "cmd /C echo @path && dir @path && echo %ARTIFACTS% && dir %ARTIFACTS% && copy @path %ARTIFACTS%"
64 copy COPYRIGHT %ARTIFACTS%
66 copy COPYRIGHT %ARTIFACTS%
65 ren %ARTIFACTS%\COPYRIGHT COPYRIGHT.txt
67 ren %ARTIFACTS%\COPYRIGHT COPYRIGHT.txt
66− dir %ARTIFACTS%
67 echo Built from %GITHUB_SHA% > %ARTIFACTS%\README.nightly.txt
68 echo Built from %GITHUB_SHA% > %ARTIFACTS%\README.nightly.txt
68 - uses: actions/upload-artifact@master
69 - uses: actions/upload-artifact@master
69 with:
70 with: