aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-09-18 11:22:14 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2019-09-18 11:22:14 -0700
commitebfa7d61f82ed4b7e0afa0a91312a5bbdefadfb6 (patch)
treeabdc40a83ddd92726717898e6a63a99225255779
parent3bdc947b2e7abcf0ed3145473535268b7bec557a (diff)
downloadpandoc-ebfa7d61f82ed4b7e0afa0a91312a5bbdefadfb6.tar.gz
Nightly fixes. for now, run every 6 hours for debugging.
-rw-r--r--.github/workflows/nightly.yml8
1 files 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}/