forked from microsoft/AL-Go-Actions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yaml
35 lines (35 loc) · 1.53 KB
/
action.yaml
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
28
29
30
31
32
33
34
35
name: PowerShell script
author: Freddy Kristiansen
inputs:
actor:
description: The GitHub actor running the action
required: false
default: ${{ github.actor }}
token:
description: The GitHub token running the action
required: false
default: ${{ github.token }}
parentTelemetryScopeJson:
description: Specifies the parent telemetry scope for the telemetry signal
required: false
default: '{}'
project:
description: Project folder
required: false
default: '.'
settingsJson:
description: Settings from repository in compressed Json format
required: false
default: '{"AppBuild":0,"AppRevision":0}'
secretsJson:
description: Secrets from repository in compressed Json format
required: false
default: '{"insiderSasToken":"","licenseFileUrl":"","CodeSignCertificateUrl":"","CodeSignCertificatePw":"","KeyVaultCertificateUrl":"","KeyVaultCertificatePw":"","KeyVaultClientId":"","applicationInsightsConnectionString": ""}'
runs:
using: composite
steps:
- run: try { ${{ github.action_path }}/runpipeline.ps1 -actor '${{ inputs.actor }}' -token '${{ inputs.token }}' -parentTelemetryScopeJson '${{ inputs.parentTelemetryScopeJson }}' -project '${{ inputs.project }}' -settingsJson '${{ inputs.settingsJson }}' -secretsJson '${{ inputs.secretsJson }}' } catch { Write-Host "::Error::Unexpected error when running action ($($_.Exception.Message.Replace("`r",'').Replace("`n",' ')))"; exit 1 }
shell: PowerShell
branding:
icon: terminal
color: blue