Skip to content

api_function_writegithubactionsannotation

hugoalh edited this page Dec 27, 2023 · 8 revisions

Write-GitHubActionsAnnotation

πŸ‘Ž Deprecated

This is officially deprecated, maybe throw warning in the latest version, and maybe remove in the future version.

  • Type: Function
  • In Version: v0.3.0 ~ v1.7.X

Prints an annotation message to the log.

  • Write-GitHubActionsAnnotation
      [-Type] <Enum:GitHubActionsAnnotationType>
      [-Message] <String>
      [-File <String>] 
      [-Line <UInt32>]
      [-Column <UInt32>]
      [-EndLine <UInt32>]
      [-EndColumn <UInt32>]
      [-Title <String>]

Parameter

Column

[Optional] <UInt32> Column start of the issue file of the annotation.

  • Position: Named
  • Accept Pipeline Input: False ❌
  • Accept Pipeline Input By Property Name: True βœ”οΈ
  • Alias:
    • Col
    • ColStart
    • ColumnStart
    • StartCol
    • StartColumn

EndColumn

[Optional] <UInt32> Column end of the issue file of the annotation.

  • Position: Named
  • Accept Pipeline Input: False ❌
  • Accept Pipeline Input By Property Name: True βœ”οΈ
  • Alias:
    • ColEnd
    • ColumnEnd
    • EndCol

EndLine

[Optional] <UInt32> Line end of the issue file of the annotation.

  • Position: Named
  • Accept Pipeline Input: False ❌
  • Accept Pipeline Input By Property Name: True βœ”οΈ
  • Alias:
    • LineEnd

File

[Optional] <String> Path of the issue file of the annotation.

  • Position: Named
  • Accept Pipeline Input: False ❌
  • Accept Pipeline Input By Property Name: True βœ”οΈ
  • Accept Wildcard Characters: False ❌
  • Alias:
    • Path

Line

[Optional] <UInt32> Line start of the issue file of the annotation.

  • Position: Named
  • Accept Pipeline Input: False ❌
  • Accept Pipeline Input By Property Name: True βœ”οΈ
  • Alias:
    • LineStart
    • StartLine

Message

<String> Message of the annotation.

  • Position: 1
  • Accept Pipeline Input: True βœ”οΈ
  • Accept Pipeline Input By Property Name: True βœ”οΈ
  • Accept Wildcard Characters: False ❌
  • Alias:
    • Content

Title

[Optional] <String> Title of the annotation.

  • Position: Named
  • Accept Pipeline Input: False ❌
  • Accept Pipeline Input By Property Name: True βœ”οΈ
  • Accept Wildcard Characters: False ❌
  • Alias:
    • Header

Type

<Enum:GitHubActionsAnnotationType> Type of the annotation.

  • Position: 0
  • Accept Pipeline Input: False ❌
  • Accept Pipeline Input By Property Name: True βœ”οΈ
  • Accept Wildcard Characters: False ❌

Output

<Void>

Guide

API

Enum

Enum Flag

Function

Function Alias

Clone this wiki locally