Skip to content

Commit

Permalink
Add publish parameters to cli
Browse files Browse the repository at this point in the history
  • Loading branch information
jerry08 committed Jun 17, 2024
1 parent e931c8c commit 50cee7c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,12 @@ jobs:
dotnet publish SoundCloudDownloader
-p:Version=${{ github.ref_type == 'tag' && github.ref_name || format('999.9.9-ci-{0}', github.sha) }}
-p:CSharpier_Bypass=true
-p:PublishAot=true
-p:PublishTrimmed=true
-p:TrimMode=link
-p:IncludeNativeLibrariesForSelfExtract=true
-p:DebugType=None
-p:DebugSymbols=false
--output SoundCloudDownloader/bin/publish
--configuration Release
--runtime ${{ matrix.rid }}
Expand Down
1 change: 0 additions & 1 deletion SoundCloudDownloader/SoundCloudDownloader.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
<OutputType>WinExe</OutputType>
<ApplicationIcon>..\favicon.ico</ApplicationIcon>
<ApplicationManifest>app.manifest</ApplicationManifest>
<PublishTrimmed>true</PublishTrimmed>
<CopyOutputSymbolsToPublishDirectory>false</CopyOutputSymbolsToPublishDirectory>
<BuiltInComInteropSupport>true</BuiltInComInteropSupport>
<AvaloniaUseCompiledBindingsByDefault>true</AvaloniaUseCompiledBindingsByDefault>
Expand Down

0 comments on commit 50cee7c

Please sign in to comment.