Skip to content

Commit

Permalink
Ikkoku: fix publish
Browse files Browse the repository at this point in the history
  • Loading branch information
MIRIMIRIM committed Sep 30, 2024
1 parent 4a52a29 commit dce7e27
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ikkoku-dotnet-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ jobs:
run: |
cd ./Ikkoku
dotnet restore
dotnet publish -c Release -r "${{ matrix.env.identifier }}-${{ matrix.arch }}" /p:PublishAot=true /p:PublishSingleFile=false
# /p:DefineConstants=NotAot
dotnet publish -c Release -r "${{ matrix.env.identifier }}-${{ matrix.arch }}"
# /p:PublishAot=false /p:PublishSingleFile=true /p:DefineConstants=NotAot
- name: Set short version
shell: bash
Expand Down
8 changes: 4 additions & 4 deletions Ikkoku/Ikkoku.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@
<Version>0.3.2</Version>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<!-- <PublishAot>true</PublishAot> -->
<PublishAot>true</PublishAot>
<IsAotCompatible>true</IsAotCompatible>
<SelfContained>true</SelfContained>
<PublishSingleFile>true</PublishSingleFile>
<!-- <PublishSingleFile>true</PublishSingleFile> -->
<PublishReadyToRun>true</PublishReadyToRun>
<PublishTrimmed>true</PublishTrimmed>
<IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract>
<TrimmerSingleWarn>false</TrimmerSingleWarn>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\SubtitleParse\SubtitleParse.csproj"></ProjectReference>
<ProjectReference Include="..\ZhConvert\ZhConvert.csproj"></ProjectReference>
<ProjectReference Include="..\SubtitleParse\SubtitleParse.csproj"/>
<ProjectReference Include="..\ZhConvert\ZhConvert.csproj"/>
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit dce7e27

Please sign in to comment.