GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - openentity/setup-mssql: GitHub Action to setup Microsoft SQL Server

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

25 Commits
25 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
action.yml
action.yml
 
 
install.ps1
install.ps1
 
 
renovate.json
renovate.json
 
 
test.ps1
test.ps1
 
 

Repository files navigation

Setup MSSQL Action

This GitHub action automatically installs a SQL server and sqlcmd on Windows and Linux.

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 22.04. Essentially, it only has an effect on Ubuntu 24.04.

Usage

Inputs

  • components: Specify the components you want to install. Can be sqlengine and sqlcmd. The list of components needs be a comma-separated list like sqlengine,sqlcmd. GitHub Actions does not support passing YAML lists to composite actions.
  • 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.
  • sa-password: The sa password for the SQL instances. Default is bHuZH81%cGC6.
  • version: Version of the SQL server you want to install (2019 or 2022).

Example

name: Continuous Integration

on:
  pull_request:
  push:
  schedule:
    - cron: "30 8 * * 1"

jobs:
  test:
    name: Tests
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v4

      - name: Setup MSSQL
        uses: rails-sqlserver/setup-mssql@v1
        with:
          components: sqlcmd,sqlengine
          force-encryption: true
          sa-password: "iamastrongpassword1234!"
          version: 2022

License

The scripts and documentation in this project are released under the MIT License.

Credits

Inspiration for the action came from https://github.com/marketplace/actions/mssql-suite.

About

GitHub Action to setup Microsoft SQL Server

Resources

Readme
License
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.