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 Dec 27, 2024
1 parent f144b0d commit d97e0ec
Show file tree
Hide file tree
Showing 4 changed files with 65 additions and 29 deletions.
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,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 @@ -16,9 +16,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 d97e0ec

Please sign in to comment.