autobuild on github

This commit is contained in:
Mirek Kratochvil 2025-07-18 15:38:15 +02:00
parent 44518ce946
commit 5a88a00a0d

24
.github/workflows/build.yml vendored Normal file
View file

@ -0,0 +1,24 @@
name: build
on:
push:
tags:
- 'v*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: haskell-actions/setup@v2
with:
ghc-version: '9.4'
- run: |
cabal build
xz -9 < `cabal exec which werge` > werge-${{ github.ref_name }}-`uname -m`.xz
- uses: softprops/action-gh-release@v2
with:
files: werge-*.xz