Skip to content

Commit

Permalink
Update dotnet.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
samsmithnz committed Aug 18, 2021
1 parent 6618fb7 commit b30533b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,15 @@ jobs:
path-to-lcov: src/Battle.Tests/TestResults/coverage.info

- name: Pack code into NuGet package
if: github.ref == 'refs/heads/main'
run: dotnet pack src/Battle.Logic/Battle.Logic.csproj --configuration Release -p:Version='${{ steps.gitversion.outputs.SemVer }}' -p:AssemblyVersion='${{ steps.gitversion.outputs.SemVer }}'
- name: Upload package to GitHub
uses: actions/upload-artifact@v2
with:
name: package
path: src/Battle.Logic/bin/Release/netstandard2.0
- name: Upload nuget package to GitHub
if: github.ref == 'refs/heads/main'
uses: actions/upload-artifact@v2
with:
name: nugetPackage
Expand Down

0 comments on commit b30533b

Please sign in to comment.