Skip to content

Commit ba5aed4

Browse files
committed
Fix copilot-setup-steps.yml
1 parent c03c7ea commit ba5aed4

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

.github/workflows/copilot-setup-steps.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ on:
1616
jobs:
1717
# The job MUST be called `copilot-setup-steps` or it will not be picked up by Copilot.
1818
copilot-setup-steps:
19-
runs-on: ubuntu-latest
19+
runs-on: ubuntu-24.04
2020

2121
# Install SQL Server via a docker container.
2222
# It's better to do this rather than e.g. use a testcontainer, because then the agent can reuse the same container
@@ -26,11 +26,11 @@ jobs:
2626
image: mcr.microsoft.com/mssql/server:2025-latest
2727
env:
2828
ACCEPT_EULA: "Y"
29-
SA_PASSWORD: ${{ secrets.MSSQL_SA_PASSWORD }}
29+
SA_PASSWORD: "${{ secrets.MSSQL_SA_PASSWORD }}"
3030
ports:
3131
- 1433:1433
3232
options: >-
33-
--health-cmd="/opt/mssql-tools18/bin/sqlcmd -S localhost -U sa -P \$SA_PASSWORD -Q \"SELECT 1\" -C"
33+
--health-cmd="/opt/mssql-tools18/bin/sqlcmd -S localhost -U sa -P $SA_PASSWORD -Q 'SELECT 1' -C"
3434
--health-start-period=20s
3535
--health-interval=2s
3636
--health-retries=30
@@ -39,8 +39,6 @@ jobs:
3939
permissions:
4040
contents: read
4141

42-
# You can define any steps you want, and they will run before the agent starts.
43-
# If you do not check out your code, Copilot will do this for you.
4442
steps:
4543
- name: Checkout
4644
uses: actions/checkout@v5

0 commit comments

Comments
 (0)