Skip to content

api_function_setgithubactionsstate

hugoalh edited this page Dec 27, 2023 · 8 revisions

Set-GitHubActionsState

πŸ‘€ Looking For Something Else

Looking for legacy Set-GitHubActionsState? That is moved to here!

  • Type: Function
  • In Version: >= v2.0.0
  • Alias:
    • Save-GitHubActionsState

Set state.

  • Set-GitHubActionsState
      [-Name] <String>
      [-Value] <String>
      [-Optimize]

Parameter

Name

<String> Name of the state.

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

Optimize

[Optional] Whether to have an optimize operation by replace exist command instead of add command directly.

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

Value

<String> Value of the state.

  • Parameter Set: Single
  • Position: 1
  • 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