diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d0fc7994..edb1dbd3 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -31,14 +31,14 @@ jobs: - name: Generate Coverage Report run: dotnet test # coverage happens by default - - name: Updload Coverage Report + - name: Upload Coverage Report uses: actions/upload-artifact@v2 with: name: report path: docfx/coverage/report/ - name: Pack - run: dotnet pack --include-symbols --no-restore -c Release -p:PackageVersion=${{ steps.version.outputs.result }} -o . + run: dotnet pack --no-restore -c Release -p:PackageVersion=${{ steps.version.outputs.result }} -o . - name: Publish NuGet run: dotnet nuget push *.nupkg -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_TOKEN }} diff --git a/src/CommonLib/SharpHoundCommonLib.csproj b/src/CommonLib/SharpHoundCommonLib.csproj index e6fa9fe8..589d59a9 100644 --- a/src/CommonLib/SharpHoundCommonLib.csproj +++ b/src/CommonLib/SharpHoundCommonLib.csproj @@ -29,6 +29,23 @@ - + + + $(TargetsForTfmSpecificBuildOutput);CopyProjectReferencesToPackage + + + + + <_ReferenceCopyLocalPaths Include="@(ReferenceCopyLocalPaths->WithMetadataValue('ReferenceSourceTarget', 'ProjectReference')->WithMetadataValue('PrivateAssets', 'All'))"/> + + + + + + + + + +