Skip to content

Commit

Permalink
Another try at Nuget symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
James A Sutherland committed Jan 29, 2024
1 parent 6281864 commit 93ff38c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: lcov.info
- name: Pack Nuget
run: dotnet pack TypeGuesser/TypeGuesser.csproj -o dist -c Release --include-source -p:PackageVersion=$(fgrep AssemblyFileVersion SharedAssemblyInfo.cs |cut -d'"' -f2)
run: dotnet pack TypeGuesser/TypeGuesser.csproj -o dist -c Release --include-source -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg -p:PackageVersion=$(fgrep AssemblyFileVersion SharedAssemblyInfo.cs |cut -d'"' -f2)
- name: Store created nupkg files
uses: actions/upload-artifact@v4
with:
Expand All @@ -37,5 +37,5 @@ jobs:
overwrite: true
- name: Push Nuget
if: contains(github.ref,'refs/tags/')
run: dotnet nuget push dist/*[0-9]*.nupkg -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_KEY }} --skip-duplicate
run: dotnet nuget push dist/*[0-9].nupkg -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_KEY }} --skip-duplicate

0 comments on commit 93ff38c

Please sign in to comment.