Skip to content

Commit 8259acb

Browse files
committed
Add README
1 parent 4544117 commit 8259acb

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

README.md

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Setup MSSQL Action
2+
3+
This GitHub action automatically installs a SQL server and `sqlcmd` on Windows and Linux.
4+
5+
On Windows, we install an Express edition of the container. On Linux, a Docker container is started. `sqlcmd` is actually preinstalled on all Windows images as well as Ubuntu 20.04 and 22.04. Essentially, it only has an effect on Ubuntu 24.04.
6+
7+
## Usage
8+
9+
### Inputs
10+
11+
* `components`: Specify the components you want to install. Can be `sqlengine` and `sqlcmd`.
12+
* `force-encryption`: When you request to install `sqlengine`, you can set this input to `true` in order to encrypt all connections to the SQL server. The action will generate a self-signed certificate for that. Default is `false`.
13+
* `sa-password`: The sa password for the SQL instances. Default is `bHuZH81%cGC6`.
14+
* `version`: Version of the SQL server you want to install (2017, 2020 or 2022).
15+
16+
## License
17+
18+
The scripts and documentation in this project are released under the MIT License.
19+
20+
## Credits
21+
22+
Inspiration for the action came from https://github.com/marketplace/actions/mssql-suite.

0 commit comments

Comments
 (0)