Skip to content

Cleanup and deal with bitrot. Remove all but the web-socket interface… #161

Cleanup and deal with bitrot. Remove all but the web-socket interface…

Cleanup and deal with bitrot. Remove all but the web-socket interface… #161

name: Build Windows executable
on:
workflow_dispatch:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v19
with:
install_url: https://releases.nixos.org/nix/nix-2.13.3/install
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v11
with:
name: jbetz
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix-build -A projectCross.mingwW64.hsPkgs.ensemble.components.exes.ensemble
- run: echo "UPLOAD_PATH=$(readlink -f result)" >> $GITHUB_ENV
- uses: actions/upload-artifact@v3
with:
name: ensemble-windows-executable
path: ${{ env.UPLOAD_PATH }}