Skip to content

Repository files navigation

Setup SQL Server Action

This action installs a version of SQL Server on Windows based GitHub Action Runners.

Usage

See action.yml:

- uses: tediousjs/setup-sqlserver@v4with:
# Skip OS checks that will stop installation attempts preemptively.# Default: falseskip-os-check: false# Version to use. Examples: 2008, 2012, 2014, etc. "latest" can also be used.# Default: latestsqlserver-version: 'latest'# Version of native client to install. Only 11 is supported.native-client-version: ''# Version of ODBC to install. Supported versions: 17, 18.odbc-version: ''# The SA user password to use.# Default: yourStrong(!)Passwordsa-password: 'yourStrong(!)Password'# The database collation to use.# Default: SQL_Latin1_General_CP1_CI_ASdb-collation: 'SQL_Latin1_General_CP1_CI_AS'# Any custom install arguments you wish to use. These must be in the format of# "/ARG=VAL".install-arguments: ''# Wait for the database to respond successfully to queries before completing the# action. A maximum of 10 attempts is made.# Default: truewait-for-ready: true# Attempt to install latest cumulative updates during the installation process# (not available for all versions).# Default: falseinstall-updates: false

Basic usage

- name: Install SQL Serveruses: ./with:
sqlserver-version: sql-latest

About

GitHub Action to setup SQL Server

Resources

Stars

1 star

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages