mirror of
https://github.com/wwiinnddyy/LanMountainDesktop.git
synced 2026-06-20 23:54:26 +08:00
fix.修复了错误的AirAppHost打包流程
This commit is contained in:
42
.github/workflows/release.yml
vendored
42
.github/workflows/release.yml
vendored
@@ -209,48 +209,6 @@ jobs:
|
|||||||
-p:InformationalVersion=${{ needs.prepare.outputs.informational_version }}
|
-p:InformationalVersion=${{ needs.prepare.outputs.informational_version }}
|
||||||
shell: pwsh
|
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
|
- name: Restructure for Launcher
|
||||||
run: |
|
run: |
|
||||||
$version = "${{ needs.prepare.outputs.version }}"
|
$version = "${{ needs.prepare.outputs.version }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user