From 791e38d55ebef9c6cb568c72964ccac274141d1e Mon Sep 17 00:00:00 2001 From: lincube Date: Mon, 25 May 2026 11:12:15 +0800 Subject: [PATCH] =?UTF-8?q?fix.=E4=BF=AE=E5=A4=8D=E4=BA=86=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E7=9A=84AirAppHost=E6=89=93=E5=8C=85=E6=B5=81?= =?UTF-8?q?=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 42 ----------------------------------- 1 file changed, 42 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 16876b5..bf6fab9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -209,48 +209,6 @@ jobs: -p:InformationalVersion=${{ needs.prepare.outputs.informational_version }} shell: pwsh - - name: Publish AirAppHost - run: | - $arch = "${{ matrix.arch }}" - $selfContained = "${{ matrix.self_contained }}" -eq "true" - $publishDir = if ($selfContained) { "publish/windows-$arch" } else { "publish/windows-$arch-lite" } - - if ($selfContained) { - dotnet publish LanMountainDesktop.AirAppHost/LanMountainDesktop.AirAppHost.csproj ` - -c Release ` - -o ./$publishDir ` - --self-contained:false ` - -r win-$arch ` - -p:PublishSingleFile=false ` - -p:DebugType=none ` - -p:DebugSymbols=false ` - -p:PublishTrimmed=false ` - -p:PublishReadyToRun=false ` - -p:BuildingAirAppHost=true ` - -p:SkipAirAppHostBuild=true ` - -p:Version=${{ needs.prepare.outputs.version }} ` - -p:AssemblyVersion=${{ needs.prepare.outputs.assembly_version }} ` - -p:FileVersion=${{ needs.prepare.outputs.assembly_version }} ` - -p:InformationalVersion=${{ needs.prepare.outputs.informational_version }} - } else { - dotnet publish LanMountainDesktop.AirAppHost/LanMountainDesktop.AirAppHost.csproj ` - -c Release ` - -o ./$publishDir ` - --self-contained:false ` - -p:PublishSingleFile=false ` - -p:DebugType=none ` - -p:DebugSymbols=false ` - -p:PublishTrimmed=false ` - -p:PublishReadyToRun=false ` - -p:BuildingAirAppHost=true ` - -p:SkipAirAppHostBuild=true ` - -p:Version=${{ needs.prepare.outputs.version }} ` - -p:AssemblyVersion=${{ needs.prepare.outputs.assembly_version }} ` - -p:FileVersion=${{ needs.prepare.outputs.assembly_version }} ` - -p:InformationalVersion=${{ needs.prepare.outputs.informational_version }} - } - shell: pwsh - - name: Restructure for Launcher run: | $version = "${{ needs.prepare.outputs.version }}"