Skip to content

Commit 572decc

Browse files
Update github-actions-ci.yaml
1 parent 9eca60c commit 572decc

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/github-actions-ci.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,15 @@ jobs:
2020
ACCEPT_EULA: "Y"
2121
ports:
2222
- 1433:1433
23-
23+
volumes:
24+
- /var/opt/mssql/customdbs:/var/opt/mssql/customdbs
2425
steps:
2526
- uses: actions/checkout@v4
2627

28+
- name: Prepare SQL custom dir
29+
run: |
30+
docker exec $(docker ps -qf "ancestor=mcr.microsoft.com/mssql/server:2022-latest") chown -R mssql:mssql /var/opt/mssql/customdbs
31+
2732
- name: Setup .NET
2833
uses: actions/setup-dotnet@v4
2934
with:

0 commit comments

Comments
 (0)