Coder Social home page Coder Social logo

hugoalh-studio / ghactions-toolkit-powershell Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 1.0 5.32 MB

A PowerShell module to provide a better and easier way for GitHub Actions to communicate with the runner machine, and the toolkit for developing GitHub Actions in PowerShell.

License: Other

PowerShell 94.59% TypeScript 5.41%
powershell github-actions toolkit gh-actions ghactions

ghactions-toolkit-powershell's Introduction

GitHub Actions Toolkit (PowerShell)

โš–๏ธ MIT

๐Ÿ—‚๏ธ GitHub: hugoalh-studio/ghactions-toolkit-powershell PowerShell Gallery: hugoalh.GitHubActionsToolkit

๐Ÿ†™ Latest Release Version (Latest Release Date)

A PowerShell module to provide a better and easier way for GitHub Actions to communicate with the runner machine, and the toolkit for developing GitHub Actions in PowerShell.

๐ŸŽฏ Target

  • PowerShell >= v7.2.0

    ๐Ÿ’ฝ Require Software

    • GitHub Actions Runner
    • NodeJS >= v16.13.0 (Optional, for NodeJS based wrapper API)

๐Ÿ”— Other Edition

๐Ÿ”ฐ Usage

  1. Install via PowerShell:
    Install-Module -Name 'hugoalh.GitHubActionsToolkit' -AcceptLicense
  2. Import at the script (<ScriptName>.ps1):
    Import-Module -Name 'hugoalh.GitHubActionsToolkit' -Scope 'Local'

๐Ÿงฉ API (Excerpt)

โ„น๏ธ Note

For the prettier documentation, can visit via:

Function

  • Add-GitHubActionsPATH
  • Add-GitHubActionsProblemMatcher
  • Add-GitHubActionsSecretMask
  • Add-GitHubActionsSummary
  • Add-GitHubActionsSummaryHeader
  • Add-GitHubActionsSummaryImage
  • Add-GitHubActionsSummaryLink
  • Add-GitHubActionsSummarySubscriptText
  • Add-GitHubActionsSummarySuperscriptText
  • Disable-GitHubActionsStdOutCommandEcho
  • Disable-GitHubActionsStdOutCommandProcess
  • Enable-GitHubActionsStdOutCommandEcho
  • Enable-GitHubActionsStdOutCommandProcess
  • Enter-GitHubActionsLogGroup
  • Exit-GitHubActionsLogGroup
  • Expand-GitHubActionsToolCacheCompressedFile
  • Export-GitHubActionsArtifact
  • Find-GitHubActionsToolCache
  • Get-GitHubActionsArtifact
  • Get-GitHubActionsDebugStatus
  • Get-GitHubActionsInput
  • Get-GitHubActionsOpenIdConnectToken
  • Get-GitHubActionsState
  • Get-GitHubActionsSummary
  • Get-GitHubActionsWebhookEventPayload
  • Get-GitHubActionsWorkflowRunUri
  • Import-GitHubActionsArtifact
  • Invoke-GitHubActionsToolCacheToolDownloader
  • Register-GitHubActionsToolCacheDirectory
  • Register-GitHubActionsToolCacheFile
  • Remove-GitHubActionsProblemMatcher
  • Restore-GitHubActionsCache
  • Save-GitHubActionsCache
  • Set-GitHubActionsEnvironmentVariable
  • Set-GitHubActionsOutput
  • Set-GitHubActionsState
  • Set-GitHubActionsSummary
  • Test-GitHubActionsEnvironment
  • Write-GitHubActionsDebug
  • Write-GitHubActionsError
  • Write-GitHubActionsFail
  • Write-GitHubActionsNotice
  • Write-GitHubActionsWarning

โœ๏ธ Example

  • Set-GitHubActionsOutput -Name 'foo' -Value 'bar'
  • Write-GitHubActionNotice -Message 'Hello, world!'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.