Skip to content

Commit

Permalink
Update release-nuget.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
u-less committed Jan 26, 2022
1 parent f49bd93 commit dd2b92b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ jobs:
- uses: dotnet/nbgv@master
with:
setAllVars: true
- run: echo "NuGetPackageVersion $NBGV_SimpleVersion"
- run: echo "NuGetPackageVersion $NBGV_MajorMinorVersion"

- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore

- name: Pack the NuGets
run: dotnet pack --configuration Release --no-build --include-symbols -o . -p:PackageVersion=$NBGV_SimpleVersion
run: dotnet pack --configuration Release --no-build --include-symbols -o . -p:PackageVersion=$NBGV_MajorMinorVersion

- name: Publish NuGet
run: |
Expand Down

0 comments on commit dd2b92b

Please sign in to comment.