File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2626 DOTNET_SKIP_FIRST_TIME_EXPERIENCE : 1
2727 DOTNET_NOLOGO : true
2828 BRANCH_NAME : ${{ github.head_ref || github.ref_name }}
29- NUGET_DIRECTORY : ${{ github.workspace}}/nuget
29+ NUGET_DIRECTORY : ${{ github.workspace }}/nuget
30+ NUGET_PACKAGES_ARTIFACT : nuget-packages
3031 DOTNET_SYSTEM_CONSOLE_ALLOW_ANSI_COLOR_REDIRECTION : 1
3132 TERM : xterm
3233
6869 # Publish the NuGet package as an artifact, so they can be used in the following jobs
6970 - uses : actions/upload-artifact@v3
7071 with :
71- name : nuget
72+ name : ${{ env.NUGET_PACKAGES_ARTIFACT }}
7273 if-no-files-found : error
7374 retention-days : 7
7475 path : ${{ env.NUGET_DIRECTORY }}/*.nupkg
8283
8384 - uses : actions/download-artifact@v3
8485 with :
85- name : nuget
86+ name : ${{ env.NUGET_PACKAGES_ARTIFACT }}
8687 path : ${{ env.NUGET_DIRECTORY }}
8788
8889 - name : Install nuget validator
@@ -141,9 +142,14 @@ jobs:
141142
142143 - uses : actions/download-artifact@v3
143144 with :
144- name : nuget
145+ name : ${{ env.NUGET_PACKAGES_ARTIFACT }}
145146 path : ${{ env.NUGET_DIRECTORY }}
146147
148+ - name : ⚙️ Setup GIT versioning
149+ uses : dotnet/nbgv@v0.4.1
150+ with :
151+ setAllVars : true
152+
147153 - name : ✳ Install bUnit template
148154 run : |
149155 dotnet new --install bunit.template::${NBGV_NuGetPackageVersion} --nuget-source ${{ env.NUGET_DIRECTORY }}
You can’t perform that action at this time.
0 commit comments