Skip to content

Commit

Permalink
Rely on publish AoT in the csproj
Browse files Browse the repository at this point in the history
  • Loading branch information
hwoodiwiss committed Dec 23, 2023
1 parent 0df3dcf commit 093dab3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
uses: actions/setup-dotnet@v3

- name: Publish Example AOT
run: dotnet publish .\examples\ExampleMinimalApi\ExampleMinimalApi.csproj /p:PublishAot=true -r win-x64 -c Release --framework net8.0 /tl
run: dotnet publish .\examples\ExampleMinimalApi\ExampleMinimalApi.csproj -r win-x64 -c Release --framework net8.0 /tl

- name: Publish AOT Compiled Example
uses: actions/upload-artifact@v3
Expand Down
1 change: 1 addition & 0 deletions src/ArgumentativeFilters/ArgumentativeFilters.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<TargetFramework>$(DefaultClassLibFramework)</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<IsAotCompatible>true</IsAotCompatible>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 093dab3

Please sign in to comment.