Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

haskell-actions/parse-cabal-file

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace
Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

haskell-actions/parse-cabal-file

GitHub Action: Parse Cabal file

Assumes the runner has GHC installed.

Inputs

  • cabal_file (required): The path to a cabal file

Outputs

  • version: The version in the Cabal file

Example

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 }}

About

GitHub action to parse a Cabal file

Resources

Stars

Watchers

Forks

Morty Proxy This is a proxified and sanitized view of the page, visit original site.