Skip to content

Commit

Permalink
feat(release): Include cabal configure step
Browse files Browse the repository at this point in the history
  • Loading branch information
CristhianMotoche committed Jul 24, 2024
1 parent f25f77a commit 0e1213a
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,25 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4

# Workaround for issue: https://github.com/cycjimmy/semantic-release-action/issues/159
# Had to pin to version 14
- name: "Pin node version"
uses: actions/setup-node@v2
with:
node-version: '14'

# Use haskell environment to run cabal configure needed for semantic-release-hackage
- name: Setup Haskell
id: setup-haskell-cabal
uses: haskell-actions/setup@v2
with:
ghc-version: "9.0"
cabal-version: "3.8"

- name: Semantic Release
run: cabal configure --enable-tests

- name: Semantic Release
uses: cycjimmy/semantic-release-action@v4
with:
Expand Down

0 comments on commit 0e1213a

Please # to comment.