summaryrefslogtreecommitdiff
path: root/.github/workflows/build-binary-packages.yml
diff options
context:
space:
mode:
authorInari Listenmaa <inari.listenmaa@gmail.com>2021-07-25 04:15:07 +0200
committerGitHub <noreply@github.com>2021-07-25 04:15:07 +0200
commitb8324fe3e6dd2ebde21f79a25e093753375c5a64 (patch)
tree5c93c2088ef0f1aec3eaadf5a3f95dba5e2f0f5b /.github/workflows/build-binary-packages.yml
parentbb51224e8e171e2172c85ca1fe86636fee9cbca3 (diff)
parent8814fde817af010e6c17ff8829eceb008dfa5f72 (diff)
Merge pull request #116 from anka-213/fix-binary-package-build
Update scripts to use `cabal v1-...` so they work on newer cabal
Diffstat (limited to '.github/workflows/build-binary-packages.yml')
-rw-r--r--.github/workflows/build-binary-packages.yml17
1 files changed, 10 insertions, 7 deletions
diff --git a/.github/workflows/build-binary-packages.yml b/.github/workflows/build-binary-packages.yml
index 53f039714..ccc7dd7d7 100644
--- a/.github/workflows/build-binary-packages.yml
+++ b/.github/workflows/build-binary-packages.yml
@@ -2,7 +2,8 @@ name: Build Binary Packages
on:
workflow_dispatch:
- release:
+ release:
+ types: ["created"]
jobs:
@@ -10,11 +11,13 @@ jobs:
ubuntu:
name: Build Ubuntu package
- runs-on: ubuntu-18.04
- # strategy:
- # matrix:
- # ghc: ["8.6.5"]
- # cabal: ["2.4"]
+ strategy:
+ matrix:
+ os:
+ - ubuntu-18.04
+ - ubuntu-20.04
+
+ runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
@@ -53,7 +56,7 @@ jobs:
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
- name: gf-${{ github.sha }}-ubuntu
+ name: gf-${{ github.sha }}-${{ matrix.os }}
path: dist/gf_*.deb
if-no-files-found: error