Parse Cabal File
ActionsTags
(1)GitHub Action: Parse Cabal file
Assumes the runner has GHC installed.
cabal_file
(required): The path to a cabal file
version
: The version in the Cabal file
jobs:
my-job:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: haskell-actions/parse-cabal-file@v1
id: cabal_file
with:
cabal_file: my-library.cabal
- run: echo ${{ steps.cabal_file.outputs.version }}
Parse Cabal File is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.