File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 3434 run : dotnet test --no-build --verbosity normal
3535
3636 # Publish
37+ - name : Define MSBuild properties
38+ run : echo "MSBUILD_PROPS=-p:PublishSingleFile=true -p:PublishTrimmed=true -p:DebuggerSupport=false -p:EnableUnsafeBinaryFormatterSerialization=false -p:EnableUnsafeUTF7Encoding=false -p:InvariantGlobalization=true" >> $GITHUB_ENV
39+
3740 - name : Publish framework-dependent
3841 run : |
3942 dotnet publish YoutubeDl.Wpf -c Release --no-restore
@@ -42,17 +45,17 @@ jobs:
4245 - name : Publish self-contained for Windows ARM64
4346 run : |
4447 dotnet publish YoutubeDl.Wpf -c Release -r win-arm64 --self-contained
45- dotnet publish YoutubeDl.LogReplay -c Release -r win-arm64 --self-contained
48+ dotnet publish YoutubeDl.LogReplay -c Release $MSBUILD_PROPS -r win-arm64 --self-contained
4649
4750 - name : Publish self-contained for Windows x64
4851 run : |
4952 dotnet publish YoutubeDl.Wpf -c Release -r win-x64 --self-contained
50- dotnet publish YoutubeDl.LogReplay -c Release -r win-x64 --self-contained
53+ dotnet publish YoutubeDl.LogReplay -c Release $MSBUILD_PROPS -r win-x64 --self-contained
5154
5255 - name : Publish self-contained for Windows x86
5356 run : |
5457 dotnet publish YoutubeDl.Wpf -c Release -r win-x86 --self-contained
55- dotnet publish YoutubeDl.LogReplay -c Release -r win-x86 --self-contained
58+ dotnet publish YoutubeDl.LogReplay -c Release $MSBUILD_PROPS -r win-x86 --self-contained
5659
5760 # Upload YoutubeDl.Wpf
5861 - name : Upload YoutubeDl.Wpf artifacts for Windows framework-dependent
You can’t perform that action at this time.
0 commit comments