Skip to content

Commit 2192cd7

Browse files
authored
Merge pull request #281 from cake-contrib/renovate/ubuntu-24.x
Update dependency ubuntu to v24
2 parents f9b3336 + cb808c0 commit 2192cd7

File tree

2 files changed

+25
-3
lines changed

2 files changed

+25
-3
lines changed

.github/workflows/build.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
runs-on: ${{ matrix.os }}
2020
strategy:
2121
matrix:
22-
os: [windows-2022, ubuntu-22.04, macos-13]
22+
os: [windows-2022, ubuntu-24.04, macos-13]
2323

2424
env:
2525
AZURE_PASSWORD: ${{ secrets.AZURE_PASSWORD }}
@@ -62,7 +62,17 @@ jobs:
6262
7.0
6363
9.0
6464
10.0
65-
65+
- name: Install mono
66+
if: runner.os == 'Linux'
67+
# check https://www.mono-project.com/download/stable/#download-lin
68+
run: |
69+
sudo apt install ca-certificates gnupg
70+
sudo gpg --homedir /tmp --no-default-keyring --keyring gnupg-ring:/usr/share/keyrings/mono-official-archive-keyring.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
71+
sudo chmod +r /usr/share/keyrings/mono-official-archive-keyring.gpg
72+
echo "deb [signed-by=/usr/share/keyrings/mono-official-archive-keyring.gpg] https://download.mono-project.com/repo/ubuntu stable-focal main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
73+
sudo apt update
74+
sudo apt install -y mono-complete
75+
mono --version
6676
- name: Cache Tools
6777
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
6878
with:

.github/workflows/codeql-analysis.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
jobs:
1212
analyze:
1313
name: Analyze
14-
runs-on: ubuntu-22.04
14+
runs-on: ubuntu-24.04
1515

1616
strategy:
1717
fail-fast: false
@@ -35,6 +35,18 @@ jobs:
3535
8.0
3636
9.0
3737
38+
- name: Install mono
39+
if: runner.os == 'Linux'
40+
# check https://www.mono-project.com/download/stable/#download-lin
41+
run: |
42+
sudo apt install ca-certificates gnupg
43+
sudo gpg --homedir /tmp --no-default-keyring --keyring gnupg-ring:/usr/share/keyrings/mono-official-archive-keyring.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
44+
sudo chmod +r /usr/share/keyrings/mono-official-archive-keyring.gpg
45+
echo "deb [signed-by=/usr/share/keyrings/mono-official-archive-keyring.gpg] https://download.mono-project.com/repo/ubuntu stable-focal main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
46+
sudo apt update
47+
sudo apt install -y mono-complete
48+
mono --version
49+
3850
- name: Cache Tools
3951
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
4052
with:

0 commit comments

Comments
 (0)