From 5a88a00a0db1400cff1641ba6aa800d7e8c6d8a7 Mon Sep 17 00:00:00 2001 From: Mirek Kratochvil Date: Fri, 18 Jul 2025 15:38:15 +0200 Subject: [PATCH] autobuild on github --- .github/workflows/build.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..9c38d5e --- /dev/null +++ b/.github/workflows/build.yml @@ -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