Skip to content

Commit

Permalink
Symbols (#2)
Browse files Browse the repository at this point in the history
* symbols

* ?

* asdf
  • Loading branch information
sandersaares authored Nov 30, 2021
1 parent 8afbd76 commit e32bca4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,12 @@ jobs:
- name: Test
run: dotnet test --configuration Release --no-restore --verbosity normal --filter Name\\!~_WindowsOnly
- name: Package
run: dotnet pack --configuration Release --no-restore --output . --include-source -p:PackageVersion="${{ steps.make_nuget_version_string.outputs.NUGET_VERSION_STRING }}"
run: dotnet pack --configuration Release --no-restore --output . --include-symbols -p:SymbolPackageFormat=snupkg -p:PackageVersion="${{ steps.make_nuget_version_string.outputs.NUGET_VERSION_STRING }}"
- uses: actions/upload-artifact@v2
with:
name: nupkg
path: '*.nupkg'
path: |
*.nupkg
*.snupkg
- name: Publish
run: nuget push -ApiKey ${{ secrets.nuget_api_key }} -Source https://api.nuget.org/v3/index.json *.nupkg
6 changes: 4 additions & 2 deletions .github/workflows/build_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@ jobs:
- name: Test
run: dotnet test --configuration Release --no-restore --verbosity normal --filter Name\\!~_WindowsOnly
- name: Package
run: dotnet pack --configuration Release --no-restore --output . --include-source -p:PackageVersion="${{ steps.make_nuget_version_string.outputs.NUGET_VERSION_STRING }}"
run: dotnet pack --configuration Release --no-restore --output . --include-symbols -p:SymbolPackageFormat=snupkg -p:PackageVersion="${{ steps.make_nuget_version_string.outputs.NUGET_VERSION_STRING }}"
- uses: actions/upload-artifact@v2
with:
name: nupkg
path: '*.nupkg'
path: |
*.nupkg
*.snupkg

0 comments on commit e32bca4

Please sign in to comment.