aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-09-20 07:07:04 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2019-09-20 07:11:16 -0700
commitd617f59c2bd6013a4334913900939c1eb4916c92 (patch)
treee6f04df579461b0c9c65da6ac53dd8ce8a76c240 /.github/workflows
parentfb93954a269c5c0bb5f07468f3ff6065f147d611 (diff)
downloadpandoc-d617f59c2bd6013a4334913900939c1eb4916c92.tar.gz
Nightly - fix windows renaming with suffix.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/nightly.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml
index 4b3cf0ff7..fc676120a 100644
--- a/.github/workflows/nightly.yml
+++ b/.github/workflows/nightly.yml
@@ -61,14 +61,14 @@ jobs:
set SUFFIX=nightly-%THEDATE%
set ARTIFACTS=nightly-windows
mkdir %ARTIFACTS%
- stack path
stack build pandoc pandoc-citeproc
- forfiles /P .\.stack-work\install /M pandoc*.exe /S /C "cmd /C echo @path %ARTIFACTS%"
forfiles /P .\.stack-work\install /M pandoc*.exe /S /C "cmd /C copy @path %ARTIFACTS%"
copy COPYRIGHT %ARTIFACTS%
- ren %ARTIFACTS%\pandoc pandoc-%SUFFIX%
- ren %ARTIFACTS%\pandoc-citeproc pandoc-citeproc-%SUFFIX%
ren %ARTIFACTS%\COPYRIGHT COPYRIGHT.txt
+ dir %ARTIFACTS%
+ ren %ARTIFACTS%\pandoc.exe pandoc-%SUFFIX%.exe
+ ren %ARTIFACTS%\pandoc-citeproc.exe pandoc-citeproc-%SUFFIX%.exe
+ dir %ARTIFACTS%
echo Built from %GITHUB_SHA% > %ARTIFACTS%\README.nightly.txt
- uses: actions/upload-artifact@master
with: