Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions .github/workflows/dotnet-build-run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,19 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: '8.0.x'
dotnet-version: '9.0.x'

- name: Restore dependencies
run: dotnet restore
run: dotnet restore src

- name: Build solution
run: dotnet build --configuration Release --no-restore
run: dotnet build src --configuration Release --no-restore

- name: Run tests
run: dotnet test --no-restore --verbosity normal
run: dotnet test src --no-restore --verbosity normal

- name: Pack application
run: dotnet pack src

- name: Publish application
run: dotnet publish --configuration Release --output ./publish
run: dotnet publish src --configuration Release --output ./publish
File renamed without changes.
21 changes: 11 additions & 10 deletions src/ResxSorter/ResxSorter.csproj
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>

<OutputType>Exe</OutputType>
<TargetFramework>net9.0</TargetFramework>
<RootNamespace>ResxSorter</RootNamespace>

<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>

<PackAsTool>true</PackAsTool>
<ToolCommandName>resxsort</ToolCommandName>
<PackageOutputPath>./nupkg</PackageOutputPath>
Expand All @@ -18,15 +18,16 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="ConsoleAppFramework" Version="5.6.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="ZLogger" Version="2.5.10" />
<PackageReference Include="ConsoleAppFramework" Version="5.6.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="ZLogger" Version="2.5.10" />
<None Include="..\..\docs\README.md" Pack="true" PackagePath="\"/>
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\ResxSorter.Core\ResxSorter.Core.csproj" />
<ProjectReference Include="..\ResxSorter.Core\ResxSorter.Core.csproj" />
</ItemGroup>

</Project>
Loading