aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml24
1 files changed, 24 insertions, 0 deletions
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