Skip to content

Commit d3f14e7

Browse files
committed
ci: fix verification
1 parent bd6d69d commit d3f14e7

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

.github/workflows/verification.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ env:
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

@@ -68,7 +69,7 @@ jobs:
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
@@ -82,7 +83,7 @@ jobs:
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 }}

0 commit comments

Comments
 (0)