diff options
-rw-r--r-- | .github/workflows/nightly.yml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 04a912f7f..448603b02 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -2,7 +2,7 @@ name: Nightly on: schedule: - - cron: '53 */6 * * *' + - cron: '53 6 * * *' jobs: linux: @@ -59,9 +59,8 @@ jobs: for /f %%a in ('powershell -Command "Get-Date -format yyyy-MM-dd"') do set THEDATE=%%a set ARTIFACTS=%CD%\nightly-windows\pandoc-nightly-windows-%THEDATE% mkdir %ARTIFACTS% - dir %ARTIFACTS% 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%%" + forfiles /P .\.stack-work\install /M pandoc*.exe /S /C "cmd /C copy @path %%ARTIFACTS%%" copy COPYRIGHT %ARTIFACTS% ren %ARTIFACTS%\COPYRIGHT COPYRIGHT.txt echo Built from %GITHUB_SHA% > %ARTIFACTS%\README.nightly.txt |