aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/release.yml
blob: a16b56e8f9fd70e1d9a5bb6ba0f9fb9b04e11df8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
name: Release

on: workflow_dispatch

permissions:
  contents: write

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v4
    - uses: haskell-actions/setup@v2
      with:
        ghc-version: '8.8'
        cabal-version: '3.0.0.0'
        cabal-update: true
    - name: Build tarball
      run: make dist
    - name: Release
      uses: softprops/action-gh-release@v2
      with:
        draft: fales
        overwrite_files: false
        files: daffm.tar.gz