| CARVIEW |
Select Language
HTTP/1.1 200 OK
Connection: keep-alive
Server: nginx/1.24.0 (Ubuntu)
Content-Type: text/html; charset=utf-8
Cache-Control: public, max-age=300
Content-Encoding: gzip
Via: 1.1 varnish, 1.1 varnish
Accept-Ranges: bytes
Age: 0
Date: Sun, 18 Jan 2026 14:59:20 GMT
X-Served-By: cache-dfw-kdfw8210093-DFW, cache-bom-vanm7210029-BOM
X-Cache: MISS, MISS
X-Cache-Hits: 0, 0
X-Timer: S1768748360.171351,VS0,VE304
Vary: Accept, Accept-Encoding
transfer-encoding: chunked
github-workflow-commands: GitHub Actions workflow commands
[Skip to Readme]
github-workflow-commands: GitHub Actions workflow commands
For printing workflow commands in GitHub Actions.
See https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions
[Skip to Readme]
Modules
[Index] [Quick Jump]
- GitHub
- Workflow
- GitHub.Workflow.Command
- GitHub.Workflow.Command.Annotation
- GitHub.Workflow.Command.Execution
- GitHub.Workflow.Command.Grouping
- GitHub.Workflow.Command.Masking
- GitHub.Workflow.Command.Stopping
- GitHub.Workflow.Command.Syntax
- GitHub.Workflow.Command
- Workflow
Downloads
- github-workflow-commands-0.0.1.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
| Versions [RSS] | 0.0.0.0, 0.0.1.0 |
|---|---|
| Change log | CHANGELOG.md |
| Dependencies | base (>=4.16.4.0 && <5), bytestring (>=0.11.4.0), containers (>=0.6.5.1), lens (>=5.1.1), MonadRandom (>=0.5.3), text (>=1.2.5.0) [details] |
| License | MIT |
| Author | |
| Maintainer | Freckle Education |
| Uploaded | by PatrickBrisbin at 2024-10-04T17:25:04Z |
| Category | GitHub |
| Home page | https://github.com/freckle/github-workflow-commands#readme |
| Bug tracker | https://github.com/freckle/github-workflow-commands/issues |
| Source repo | head: git clone https://github.com/freckle/github-workflow-commands |
| Distributions | NixOS:0.0.1.0 |
| Downloads | 91 total (7 in the last 30 days) |
| Rating | (no votes yet) [estimated by Bayesian average] |
| Your Rating |
|
| Status | Docs available [build log] Last success reported on 2024-10-04 [all 1 reports] |
Readme for github-workflow-commands-0.0.1.0
[back to package description]github-workflow-commands
For printing workflow commands in GitHub Actions.
See Workflow commands for GitHub Actions.
The code herein is based on GitHub Actions Toolkit.
import qualified GitHub.Workflow.Command as GH
import Control.Lens ((&), (?~))
An annotation is at minimum just a string.
example1 :: IO ()
example1 =
GH.executeCommand $
GH.error "Something failed."
An annotation can also include a location.
someLocation :: GH.Location
someLocation =
GH.inFile "app.js"
& GH.position ?~
( GH.atLine 13
& GH.extent ?~ GH.ToLine 16
)
example2 :: IO ()
example2 =
GH.executeCommand $
GH.warning "Something seems amiss here."
& GH.location ?~ someLocation