File tree Expand file tree Collapse file tree 3 files changed +10
-11
lines changed
FluentLauncher.UniversalInstaller
Properties/PublishProfiles Expand file tree Collapse file tree 3 files changed +10
-11
lines changed Original file line number Diff line number Diff line change 88 name : build
99 runs-on : windows-latest
1010 strategy :
11+ fail-fast : false
1112 matrix :
12- architecture : [x64, arm64]
1313 edition : [CommandLine, Universal]
14-
15-
14+ architecture : [x64, arm64]
15+
1616 steps :
1717 - name : Checkout code
1818 uses : actions/checkout@v4
@@ -31,10 +31,10 @@ jobs:
3131 PublishDir : ./publish/win-${{ matrix.architecture }}
3232 run : |
3333 cd ./FluentLauncher.${{ matrix.edition }}Installer
34- dotnet publish --configuration Release --self-contained true --runtime win- ${{ matrix.architecture }} --output $PublishDir -- nologo
34+ dotnet publish --configuration Release --self-contained true --output $env:PublishDir -p:PlatformTarget= ${{matrix.architecture}} --nologo
3535
36- - name : upload to artifacts
36+ - name : Upload to Artifacts
3737 uses : actions/upload-artifact@v4
3838 with :
39- name : win-${{ matrix.architecture }}
39+ name : ${{ matrix.edition }}Installer- win-${{ matrix.architecture }}
4040 path : " FluentLauncher.${{ matrix.edition }}Installer\\ publish\\ win-${{ matrix.architecture }}\\ FluentLauncher.${{ matrix.edition }}Installer.exe"
Original file line number Diff line number Diff line change 22
33 <PropertyGroup >
44 <OutputType >WinExe</OutputType >
5- <TargetFramework >net48 </TargetFramework >
5+ <TargetFramework >net481 </TargetFramework >
66 <UseWPF >true</UseWPF >
77 <RootNamespace >FluentLauncher.UniversalInstaller</RootNamespace >
88 <AssemblyName >FluentLauncher.UniversalInstaller</AssemblyName >
99 <LangVersion >preview</LangVersion >
10- <PlatformTarget >x64 </PlatformTarget >
10+ <PlatformTarget >AnyCPU </PlatformTarget >
1111 <ApplicationIcon >Assets\2.ico</ApplicationIcon >
1212 </PropertyGroup >
1313
Original file line number Diff line number Diff line change 44 <PropertyGroup >
55 <Configuration >Release</Configuration >
66 <Platform >Any CPU</Platform >
7- <PublishDir >bin\Release\net48 \publish\</PublishDir >
7+ <PublishDir >bin\Release\net481 \publish\</PublishDir >
88 <PublishProtocol >FileSystem</PublishProtocol >
99 <_TargetId >Folder</_TargetId >
10- <TargetFramework >net48</TargetFramework >
11- <RuntimeIdentifier >win-x64</RuntimeIdentifier >
10+ <TargetFramework >net481</TargetFramework >
1211 </PropertyGroup >
1312</Project >
You can’t perform that action at this time.
0 commit comments