From ebfa7d61f82ed4b7e0afa0a91312a5bbdefadfb6 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 18 Sep 2019 11:22:14 -0700 Subject: Nightly fixes. for now, run every 6 hours for debugging. --- .github/workflows/nightly.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 62fafd4af..d97742f30 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -2,7 +2,7 @@ name: Nightly on: schedule: - - cron: '21 7 * * *' + - cron: '21 */6 * * *' jobs: linux: @@ -59,7 +59,8 @@ jobs: export SUFFIX=nightly-%OURDATE% export ARTIFACTS=nightly-windows mkdir %ARTIFACTS% - stack install --local-bin-path %ARTIFACTS% pandoc pandoc-citeproc + stack build pandoc pandoc-citeproc + forfiles /P .\.stack-work\install /M pandoc*.exe /S /C "cmd /C copy @path %ARTIFACTS%" rename %ARTIFACTS%/pandoc %ARTIFACTS%/pandoc-%SUFFIX% rename %ARTIFACTS%/pandoc-citeproc %ARTIFACTS%/pandoc-citeproc-%SUFFIX% copy COPYRIGHT %ARTIFACTS%/COPYRIGHT.txt @@ -88,7 +89,8 @@ jobs: export SUFFIX=nightly-$(date +%Y-%m-%d) export ARTIFACTS=nightly-macos mkdir -p ${ARTIFACTS} - ./stack install --local-bin-path ${ARTIFACTS}/ pandoc pandoc-citeproc + ./stack build pandoc pandoc-citeproc + for f in $(find .stack-work/install -name 'pandoc-*' -executable -type f); do cp $f ${ARTIFACTS}/; done mv ${ARTIFACTS}/pandoc ${ARTIFACTS}/pandoc-${SUFFIX} mv ${ARTIFACTS}/pandoc-citeproc ${ARTIFACTS}/pandoc-citeproc-${SUFFIX} cp COPYRIGHT ${ARTIFACTS}/ -- cgit v1.2.3