Skip to content
This repository has been archived by the owner on Dec 12, 2020. It is now read-only.

Provide library for other actions to use. #55

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

omelkonian
Copy link

This allows other Github actions to import and use setup-haskell, see for instance setup-agda.

  * Apart from main action bundled in `dist/index.js`, also produce
    library files in `lib/` with type declarations. This is achieved by
    having two separate `tsconfig.json` files.

  *  In `setup-haskell`, I caller can now supply the action's inputs as a simple object.

  * `main` just creates the arguments' object with `core.getInput` and calls `setup-haskell`.

  * Refactored tests to use these arguments, instead of emulating the
    input environment.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant