From b014586edf3209a2f030eb4597fd403e86630852 Mon Sep 17 00:00:00 2001 From: SubZeroPL Date: Tue, 9 Jun 2026 13:03:32 +0200 Subject: [PATCH] ci: fix for Avalonia build dependencies pulling --- .github/workflows/new_version.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/new_version.yml b/.github/workflows/new_version.yml index e7f380e..c9d8426 100644 --- a/.github/workflows/new_version.yml +++ b/.github/workflows/new_version.yml @@ -28,7 +28,7 @@ jobs: DOTNET_VERSION: '10.0' steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 submodules: recursive @@ -36,13 +36,17 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v5 with: - dotnet-version: ${{ env.DOTNET_VERSION }} + dotnet-version: | + 8.0.x + ${{ env.DOTNET_VERSION }} - name: Get version id: get_version run: echo "version=$((Select-Xml -Path .\$( $env:PROJECT_NAME ).csproj -XPath '/Project/PropertyGroup/AssemblyVersion').Node.InnerXML)" >> $env:GITHUB_OUTPUT shell: pwsh + - name: Remove nuget.config + run: rm Avalonia.Labs/NuGet.Config - name: Build version (win64, no dotnet) - run: dotnet publish -r win-x64 -c Release /p:PublishSingleFile=true --self-contained false + run: dotnet publish -r win-x64 -c Release /p:PublishSingleFile=true --self-contained false --property WarningLevel=0 - name: Create artifact (win64, no dotnet) uses: thedoctor0/zip-release@0.7.6 with: @@ -55,7 +59,7 @@ jobs: - name: Clean run: dotnet clean - name: Build version (win64, with dotnet) - run: dotnet publish -r win-x64 -c Release /p:PublishSingleFile=true --self-contained true + run: dotnet publish -r win-x64 -c Release /p:PublishSingleFile=true --self-contained false --property WarningLevel=0 - name: Create artifact (win64, with dotnet) uses: thedoctor0/zip-release@0.7.6 with: @@ -68,7 +72,7 @@ jobs: - name: Clean run: dotnet clean - name: Build version (linux64, no dotnet) - run: dotnet publish -r linux-x64 -c Release /p:PublishSingleFile=true --self-contained false + run: dotnet publish -r linux-x64 -c Release /p:PublishSingleFile=true --self-contained false --property WarningLevel=0 - name: Create artifact (linux64, no dotnet) uses: thedoctor0/zip-release@0.7.6 with: @@ -81,7 +85,7 @@ jobs: - name: Clean run: dotnet clean - name: Build version (linux64, with dotnet) - run: dotnet publish -r linux-x64 -c Release /p:PublishSingleFile=true --self-contained true + run: dotnet publish -r linux-x64 -c Release /p:PublishSingleFile=true --self-contained false --property WarningLevel=0 - name: Create artifact (linux64, with dotnet) uses: thedoctor0/zip-release@0.7.6 with: