Skip to content

Commit 1ee40dd

Browse files
committed
fix: update Linux build environment to Ubuntu 24.04 for .NET 9 compatibility
- Upgraded from Ubuntu 20.04/22.04 to Ubuntu 24.04 (noble) - Updated libicu dependency from libicu66/70 to libicu74 - Fixed ARM64 repository URLs to use 'noble' instead of 'focal' - Ensures compatibility with .NET 9 requirements This fixes the Linux build failures that were preventing GitHub releases from being created with assets.
1 parent 6ff5089 commit 1ee40dd

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ jobs:
2121
- name: Linux
2222
os: ubuntu-latest
2323
runtime: linux-x64
24-
container: ubuntu:20.04
24+
container: ubuntu:24.04
2525
- name: Linux (arm64)
2626
os: ubuntu-latest
2727
runtime: linux-arm64
28-
container: ubuntu:20.04
28+
container: ubuntu:24.04
2929
name: Build ${{ matrix.name }}
3030
runs-on: ${{ matrix.os }}
3131
container: ${{ matrix.container || '' }}
@@ -37,7 +37,7 @@ jobs:
3737
ln -fs /usr/share/zoneinfo/Etc/UTC /etc/localtime
3838
apt-get update
3939
apt-get install -y sudo
40-
sudo apt-get install -y curl wget git unzip zip libicu66 tzdata clang
40+
sudo apt-get install -y curl wget git unzip zip libicu74 tzdata clang
4141
- name: Checkout sources
4242
uses: actions/checkout@v4
4343
- name: Setup .NET
@@ -48,9 +48,9 @@ jobs:
4848
if: matrix.runtime == 'linux-arm64'
4949
run: |
5050
sudo dpkg --add-architecture arm64
51-
echo 'deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports/ focal main restricted
52-
deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports/ focal-updates main restricted
53-
deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports/ focal-backports main restricted' \
51+
echo 'deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports/ noble main restricted
52+
deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports/ noble-updates main restricted
53+
deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports/ noble-backports main restricted' \
5454
| sudo tee /etc/apt/sources.list.d/arm64.list
5555
sudo sed -i -e 's/^deb http/deb [arch=amd64] http/g' /etc/apt/sources.list
5656
sudo sed -i -e 's/^deb mirror/deb [arch=amd64] mirror/g' /etc/apt/sources.list

0 commit comments

Comments
 (0)