Skip to content

Commit

Permalink
Alt with env version
Browse files Browse the repository at this point in the history
  • Loading branch information
jakenuts committed Dec 2, 2022
1 parent b494f6d commit 649b09f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/github-actions-dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ jobs:
id: nbgv
uses: dotnet/nbgv@master
with:
setAllVars: true
setAllVars: true
setCommonVars: true

- name: Restore dependencies
run: dotnet restore
Expand All @@ -42,7 +43,7 @@ jobs:
# run: dotnet build --configuration Release --no-restore -p:Version=${{env.GitBuildVersion}}

- name: Pack
run: dotnet pack -c Release --no-restore -p:Version=${{env.GitBuildVersion}} -p:PackageVersion=${{env.NBGV_NuGetPackageVersion}}
run: dotnet pack -c Release --no-restore -p:Version=${{env.NBGV_Version}} -p:PackageVersion=${{env.NBGV_NuGetPackageVersion}}

- name: Create Release
uses: actions/[email protected]
Expand Down

0 comments on commit 649b09f

Please sign in to comment.