-
Notifications
You must be signed in to change notification settings - Fork 42
/
action.yml
27 lines (27 loc) · 1.12 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Azure PowerShell Action
name: 'Azure PowerShell Action'
description: 'Automate your GitHub workflows using Azure PowerShell scripts.'
inputs:
inlineScript:
description: 'Specify the Az PowerShell script here.'
required: true
azPSVersion:
description: 'Azure PS version to be used to execute the script, example: 1.8.0, 2.8.0, 3.4.0. To use the latest version, specify "latest".'
required: true
errorActionPreference:
description: 'Select the value of the ErrorActionPreference variable for executing the script. Options: stop, continue, silentlyContinue. Default is Stop.'
required: false
default: 'Stop'
failOnStandardError:
description: 'If this is true, this task will fail if any errors are written to the error pipeline, or if any data is written to the Standard Error stream.'
required: false
default: 'false'
githubToken:
description: Used to pull Az module from Azure/az-ps-module-versions. Since there's a default, this is typically not supplied by the user.
default: ${{ github.token }}
branding:
icon: 'log-in'
color: 'blue'
runs:
using: 'node20'
main: 'lib/main.js'