Skip to content

Install SQLServer Express directly instead of using Chocolatey #17583

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/actions/setup-windows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,12 @@ runs:
net start MySQL
mysql --port=3306 --user=root --password="" -e "ALTER USER 'root'@'localhost' IDENTIFIED BY 'Password12!'; FLUSH PRIVILEGES;"
- name: Setup MSSQL
shell: pwsh
shell: cmd
run: |
choco install sql-server-express -y --no-progress --install-arguments="/SECURITYMODE=SQL /SAPWD=Password12!"
curl -Ls -o SQL2022-SSEI-Expr.exe https://download.microsoft.com/download/5/1/4/5145fe04-4d30-4b85-b0d1-39533663a2f1/SQL2022-SSEI-Expr.exe
SQL2022-SSEI-Expr.exe /Action=Download /MediaPath="%TEMP%" /MediaType=Core /ENU /Quiet
%TEMP%\SQLEXPR_x64_ENU.exe /X:%TEMP%\Media /QS
%TEMP%\Media\setup.exe /Q /IACCEPTSQLSERVERLICENSETERMS /ACTION="install" /FEATURES=SQLEngine /INSTANCENAME=SQLEXPRESS /SQLSVCACCOUNT="NT AUTHORITY\SYSTEM" /SQLSYSADMINACCOUNTS="BUILTIN\ADMINISTRATORS" /SAPWD="Password12!" /SECURITYMODE=SQL /ERRORREPORTING=0
- name: Setup PostgreSQL
shell: pwsh
run: |
Expand Down
Loading