Skip to content

Commit 84d48eb

Browse files
Fix GITHUB PATH + version of docker image.
1 parent 840e4fc commit 84d48eb

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

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

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ jobs:
1313
checks: write
1414
pull-requests: write
1515
services:
16-
sqlserver:
17-
image: ghcr.io/posinformatique/mssql-sqlcmd:2022-1.0.0-alpha.1
16+
mssql-sqlcmd:
17+
image: ghcr.io/posinformatique/mssql-sqlcmd:2022-1.0.0-alpha.2
1818
env:
1919
SA_PASSWORD: "P@ssw0rd12345!"
2020
ACCEPT_EULA: "Y"
@@ -30,10 +30,9 @@ jobs:
3030
with:
3131
dotnet-version: 8.0.x
3232

33-
- name: Debug
33+
- name: Update the $GITHUB_PATH
3434
run: |
35-
echo "GITHUB_PATH:$GITHUB_PATH"
36-
echo "PATH:$PATH"
35+
echo "/opt/mssql-tools/bin" >> $GITHUB_PATH
3736
3837
- name: Restore dependencies
3938
run: dotnet restore PosInformatique.Testing.Databases.sln
@@ -44,7 +43,7 @@ jobs:
4443
- name: Prepare SQL databases directory
4544
run: |
4645
# Give the rights to the 'mssql' user to read/write in the /tmp/other_databases_path directory.
47-
docker exec --user root $(docker ps -qf "ancestor=ghcr.io/posinformatique/mssql-sqlcmd:2022-1.0.0-alpha.1") chown -R mssql:mssql /tmp/other_databases_path
46+
docker exec --user root $(docker ps -qf "ancestor=ghcr.io/posinformatique/mssql-sqlcmd:2022-1.0.0-alpha.2") chown -R mssql:mssql /tmp/other_databases_path
4847
4948
- name: Run tests
5049
run: |

0 commit comments

Comments
 (0)