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
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,10 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: nuget-packages
path: ./artifacts/*.nupkg
path: |
./artifacts/*.nupkg
./artifacts/*.snupkg

- name: Push to GitHub Packages
if: github.event_name == 'push' && startsWith(github.repository, 'khellang/')
run: dotnet nuget push ./artifacts/*.nupkg --source https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json --api-key ${{ secrets.GITHUB_TOKEN }} --skip-duplicate
run: dotnet nuget push ./artifacts/*.*nupkg --source https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json --api-key ${{ secrets.GITHUB_TOKEN }} --skip-duplicate
3 changes: 3 additions & 0 deletions src/Scrutor/Scrutor.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Description>Register services using assembly scanning and a fluent API.</Description>
<!-- MinVer will calculate version from Git tags. VersionPrefix is fallback when no tags exist. -->
<VersionPrefix>6.1.0</VersionPrefix>
<MinVerTagPrefix>v</MinVerTagPrefix>
<Authors>Kristian Hellang</Authors>
<TargetFrameworks>net462;netstandard2.0;net8.0;net10.0</TargetFrameworks>
<NoWarn>$(NoWarn);CS1591</NoWarn>
Expand Down Expand Up @@ -35,6 +37,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="MinVer" Version="6.0.0" PrivateAssets="All" />
<PackageReference Include="JetBrains.Annotations" Version="2024.2.0" PrivateAssets="All" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.3" PrivateAssets="All" />
Expand Down