diff options
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/nightly.yml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 014cd0f3e..d7ce3684e 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -57,13 +57,14 @@ jobs: shell: cmd run: | for /f %%a in ('powershell -Command "Get-Date -format yyyy-MM-dd"') do set THEDATE=%%a - set ARTIFACTS=nightly-windows\pandoc-nightly-windows-%THEDATE% + set ARTIFACTS=.\nightly-windows\pandoc-nightly-windows-%THEDATE% + setlocal enableextensions mkdir %ARTIFACTS% + endlocal stack build pandoc pandoc-citeproc forfiles /P .\.stack-work\install /M pandoc*.exe /S /C "cmd /C echo @path && dir @path && echo %ARTIFACTS% && dir %ARTIFACTS% && copy @path %ARTIFACTS%" copy COPYRIGHT %ARTIFACTS% ren %ARTIFACTS%\COPYRIGHT COPYRIGHT.txt - dir %ARTIFACTS% echo Built from %GITHUB_SHA% > %ARTIFACTS%\README.nightly.txt - uses: actions/upload-artifact@master with: |