From 2948eb205f0bc73ba372f065c4bd42729afa3f5c Mon Sep 17 00:00:00 2001 From: arenekosreal <17194552+arenekosreal@users.noreply.github.com> Date: Thu, 5 Dec 2024 21:25:57 +0800 Subject: [PATCH] Update action --- .github/workflows/build.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index a22247b..acb6b97 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -29,6 +29,11 @@ jobs: - name: "Fix long path on windows" if: matrix.os == 'windows-latest' run: "git config --system core.longpaths true" + - name: "Prepare depends for AoT on Linux" + if: matrix.os == 'ubuntu-latest' && matrix.aot == 'true' + run: | + sudo apt-get update -y + sudo apt-get install -y zlib1g-dev - name: "Checkout" uses: "actions/checkout@v4" - name: "Setup .NET" @@ -79,5 +84,6 @@ jobs: body: | Difference between self-contained and require-runtime: You have to install asp.net runtime and dotnet runtime if using `require-runtime` version. + Difference between aot and noaot: See [here](https://learn.microsoft.com/en-us/dotnet/core/deploying/native-aot)