Repository navigation
Expand file tree
/
Copy pathaction.yml
More file actions
36 lines (36 loc) · 2.06 KB
/
Copy pathaction.yml
File metadata and controls
36 lines (36 loc) · 2.06 KB
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 SQL Server environment'
description: 'Setup an SQL Server environment in your GitHub runner.'
author: 'tediousjs'
inputs:
skip-os-check:
description: 'Skip OS checks that will stop installation attempts preemptively.'
default: 'false'
sqlserver-version:
description: 'SQL Server version: 2008, 2012, 2014, 2016, 2017, 2019, 2022, or 2025. "latest" selects 2025. 2008, 2012 and 2014 only pass the OS check on Windows Server 2019 or older, which GitHub-hosted runners no longer offer; set skip-os-check to attempt them on newer runners.'
default: 'latest'
native-client-version:
description: 'Version of native client to install. Only 11 is supported.'
odbc-version:
description: 'Version of ODBC to install. Supported versions: 17, 18.'
sa-password:
description: 'The SA user password to use. It must not contain a double quote, which SQL Server setup cannot pass on.'
default: 'yourStrong(!)Password'
db-collation:
description: 'The database collation to use.'
default: 'SQL_Latin1_General_CP1_CI_AS'
install-arguments:
description: 'Any custom install arguments you wish to use. These must be in the format of "/ARG=VAL".'
wait-for-ready:
description: 'Wait for the database to respond successfully to queries before completing the action. The action tries to log in up to 6 times, with waits of 1, 2, 4, 8 and 16 seconds between the attempts. The check uses sqlcmd. If the database is not ready, or sqlcmd cannot run, for example because it is not on the PATH, the action warns and continues. If setup asked for a reboot (exit code 3010), the action fails instead.'
default: 'true'
install-updates:
description: 'Attempt to install latest cumulative updates during the installation process (not available for all versions).'
default: 'false'
outputs:
sa-password:
description: 'The SA password, this will be the same as the input, but can be useful when relying on the default value.'
instance-name:
description: 'The instance name for the SQL Server.'
runs:
using: 'node24'
main: 'lib/main/index.js'