name: Build for windows
on: [push]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- name: Install stack
run: |
curl -sSL https://get.haskellstack.org/ | sh
- name: Setup GHC
stack setup
- name: Build
stack install
- uses: actions/upload-artifact@v1
with:
name: wstunnel
path: C:\Users\runneradmin\AppData\Roaming\local\bin\wstunnel.exe