Movatterモバイル変換


[0]ホーム

URL:


Hackage :: [Package]

github-workflow-commands:GitHub Actions workflow commands

[github,library,mit ] [Propose Tags ] [Report a vulnerability ]

For printing workflow commands in GitHub Actions.

Seehttps://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions


[Skip to Readme]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions[RSS]0.0.0.0,0.0.1.0
Change logCHANGELOG.md
Dependenciesbase (>=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]
LicenseMIT
Author
MaintainerFreckle Education
CategoryGitHub
Home pagehttps://github.com/freckle/github-workflow-commands#readme
Bug trackerhttps://github.com/freckle/github-workflow-commands/issues
Source repohead: git clonehttps://github.com/freckle/github-workflow-commands
UploadedbyPatrickBrisbin at2024-10-04T17:25:04Z
DistributionsNixOS:0.0.1.0
Downloads84 total (2 in the last 30 days)
Rating(no votes yet)[estimated byBayesian average]
Your Rating
  • λ
  • λ
  • λ
StatusDocs 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.

SeeWorkflow commands for GitHub Actions.

The code herein is based onGitHub Actions Toolkit.


import qualified GitHub.Workflow.Command as GHimport 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.LocationsomeLocation =  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

CHANGELOG |LICENSE

Produced byhackage andCabal 3.12.1.0.


[8]ページ先頭

©2009-2025 Movatter.jp