https://github.com/tediousjs/setup-sqlserver
GitHub Action to setup SQL Server
https://github.com/tediousjs/setup-sqlserver
Last synced: 12 months ago
JSON representation
GitHub Action to setup SQL Server
- Host: GitHub
- URL: https://github.com/tediousjs/setup-sqlserver
- Owner: tediousjs
- License: mit
- Created: 2023-09-03T21:07:11.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2025-06-25T07:17:51.000Z (12 months ago)
- Last Synced: 2025-06-25T08:24:45.583Z (12 months ago)
- Language: TypeScript
- Size: 1.57 MB
- Stars: 1
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Setup SQL Server Action
This action installs a version of SQL Server on Windows based GitHub Action Runners.
## Usage
See [action.yml](./action.yml):
```yaml
- uses: tediousjs/setup-sqlserver@v2
with:
# Skip OS checks that will stop installation attempts preemptively.
# Default: false
skip-os-check: false
# Version to use. Examples: 2008, 2012, 2014, etc. "latest" can also be used.
# Default: latest
sqlserver-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(!)Password
sa-password: 'yourStrong(!)Password'
# The database collation to use.
# Default: SQL_Latin1_General_CP1_CI_AS
db-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: true
wait-for-ready: true
# Attempt to install latest cumulative updates during the installation process
# (not available for all versions).
# Default: false
install-updates: false
```
### Basic usage
```yml
- name: Install SQL Server
uses: ./
with:
sqlserver-version: sql-latest
```