-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
36 lines (35 loc) · 987 Bytes
/
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
28
29
30
31
32
33
34
35
36
name: "Setup MSSQL"
branding:
icon: "database"
color: "yellow"
description: "Installs an MSSQL server and client"
inputs:
components:
description: "The components to install"
required: true
force-encryption:
description: "Should the server force encryption?"
required: false
default: "false"
sa-password:
description: "The SA password for the SQL instance"
required: false
default: "bHuZH81%cGC6"
version:
description: "The version of the SQL instance"
required: false
default: "2022"
runs:
using: "composite"
steps:
- shell: pwsh
run: |
$params = @{
Components = ("${{ inputs.components }}" -split ",").Trim()
ForceEncryption = "${{ inputs.force-encryption }}" -eq "true"
SaPassword = "${{ inputs.sa-password }}"
Version = "${{ inputs.version }}"
}
${{ github.action_path }}/install.ps1 @params
env:
HOMEBREW_NO_AUTO_UPDATE: "1"