Nightly - more windows tweaks.
This commit is contained in:
parent
e8f57ea1a4
commit
5ebd5105ad
1 changed files with 3 additions and 2 deletions
5
.github/workflows/nightly.yml
vendored
5
.github/workflows/nightly.yml
vendored
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue