Skip to content

Commit 4201bc4

Browse files
JaBistDuNarrischJaBistDuNarrisch
authored andcommitted
Use ubuntu-22.04 instead of latest due to issues with not yet supported latest version (key)
1 parent 96e14b8 commit 4201bc4

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/dotnetpull.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
branches: [master]
88
jobs:
99
build:
10-
runs-on: ubuntu-latest
10+
runs-on: ubuntu-22.04
1111
services:
1212
sqlserver:
1313
image: mcr.microsoft.com/mssql/server:2019-latest
@@ -70,10 +70,13 @@ jobs:
7070
9.0.x
7171
- name: Install Microsoft GPG apt-key
7272
run: |
73-
curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
73+
wget https://packages.microsoft.com/keys/microsoft.asc -O microsoft.asc
74+
gpg --dearmor microsoft.asc
75+
chmod 644 microsoft.asc.gpg
76+
sudo mv microsoft.asc.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
7477
- name: Add Microsoft SQL Server repo
7578
run: |
76-
curl https://packages.microsoft.com/config/ubuntu/24.10/prod.list | sudo tee /etc/apt/sources.list.d/msprod.list
79+
echo "deb [arch=amd64] https://packages.microsoft.com/config/ubuntu/22.04/prod jammy main"
7780
sudo apt-get update
7881
- name: Install SQLCMD tools
7982
run: |

0 commit comments

Comments
 (0)