ci: make binaries for all three platforms

This commit is contained in:
Simon Michael 2020-06-08 15:32:37 -07:00
parent 2493edfd4c
commit 1ead2c2973
3 changed files with 31 additions and 1 deletions

View File

@ -221,6 +221,22 @@ jobs:
env:
ARGS: ${{ matrix.plan.args }}
- name: Gather executables
run: |
mkdir tmp
cd tmp
mkdir hledger
cd hledger
cp `stack exec -- which hledger` .
cp `stack exec -- which hledger-ui` .
cp `stack exec -- which hledger-web` .
- name: Create executables artifact
uses: actions/upload-artifact@v2
with:
name: hledger-linux.zip
path: tmp/hledger
# - name: show stuff
# run: |
# if [[ -e ~/.stack ]]; then ls -lFRa ~/.stack; fi

View File

@ -130,4 +130,18 @@ jobs:
export PATH=~/.local/bin:$PATH
COLUMNS=80 stack exec -- shelltest --execdir -j16 tests -x /bin -x /addons
- name: Gather executables
run: |
mkdir tmp
cd tmp
mkdir hledger
cd hledger
cp `stack exec -- which hledger` .
cp `stack exec -- which hledger-ui` .
cp `stack exec -- which hledger-web` .
- name: Create executables artifact
uses: actions/upload-artifact@v2
with:
name: hledger-mac.zip
path: tmp/hledger

View File

@ -169,5 +169,5 @@ jobs:
- name: Create executables artifact
uses: actions/upload-artifact@v2
with:
name: hledger.zip
name: hledger-win.zip
path: tmp/hledger