;ci: github: windows: generate zip file

This commit is contained in:
Simon Michael 2020-03-06 20:06:20 -08:00
parent 2cfed3af24
commit dab7c214c9

View File

@ -136,16 +136,17 @@ jobs:
# run hledger-lib/hledger functional tests, skipping the ones for addons
#- COLUMNS=80 stack exec -- shelltest --execdir -j16 tests -x /bin -x /addons
# - name: Zip exes
# run: |
# #cd `stack path --local-bin`
# 7z a hledger.zip %HOME%/.local/bin/hledger %HOME%/.local/bin/hledger-web
- name: Zip exes
run: |
#cd `stack path --local-bin`
cd C:\Users\runneradmin\AppData\Roaming\local\bin\
7z a D:\a\hledger\hledger.zip hledger.exe hledger-web.exe
# - name: Upload zip file
# uses: actions/upload-artifact@v1
# with:
# name: hledger.zip
# path: hledger.zip
- name: Upload zip file
uses: actions/upload-artifact@v1
with:
name: hledger.zip
path: hledger.zip
# Directory: C:\Users\runneradmin