Skip to content

Commit

Permalink
Add outputs for ghcup directories
Browse files Browse the repository at this point in the history
  • Loading branch information
hasufell committed Jan 1, 2025
1 parent 4f8c758 commit ebac0fb
Show file tree
Hide file tree
Showing 4 changed files with 66 additions and 30 deletions.
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,13 @@ jobs:

## Outputs

| Name | Description | Type |
|---------|--------------------------------|----------|
| path | Path to the installed GHCup | `string` |
| version | Version of the installed GHCup | `string` |
| Name | Description | Type |
|----------|--------------------------------|----------|
| path | Path to the installed GHCup | `string` |
| version | Version of the installed GHCup | `string` |
| basedir | Base directory of GHCup | `string` |
| bindir | Binary directory of GHCup | `string` |
| cachedir | Cache directory of GHCup | `string` |
| logsdir | Log directory of GHCup | `string` |
| confdir | Config directory of GHCup | `string` |

12 changes: 11 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,19 @@ inputs:

outputs:
path:
description: Path to the installed GHCup
description: Path to the installed GHCup binary
version:
description: Version of the installed GHCup
basedir:
description: Base directory of GHCup
bindir:
description: Binary directory of GHCup
cachedir:
description: Cache directory of GHCup
logsdir:
description: Log directory of GHCup
confdir:
description: Config directory of GHCup

runs:
using: node20
Expand Down
Loading

0 comments on commit ebac0fb

Please sign in to comment.