Skip to content

Commit 8c88eef

Browse files
committed
build(fix): rename VERSION_SUFFIX env to BUILD_NUMBER
1 parent ee837e8 commit 8c88eef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/nuget_publish.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ env:
1616
DOTNET_NOLOGO: true
1717
NuGetDirectory: ${{github.workspace}}/nuget
1818
DOTNET_TARGET_VERSION: 8.0.x
19-
VERSION_SUFFIX: ${{ github.run_number }}
19+
BUILD_NUMBER: ${{ github.run_number }}
2020

2121
defaults:
2222
run:
@@ -38,7 +38,7 @@ jobs:
3838

3939

4040
# Create the NuGet package in the folder from the environment variable NuGetDirectory
41-
- run: dotnet pack --version-suffix ".${{ env.VERSION_SUFFIX }}" --configuration Release --output ${{ env.NuGetDirectory }}
41+
- run: dotnet pack --version-suffix ".${{ env.BUILD_NUMBER }}" --configuration Release --output ${{ env.NuGetDirectory }}
4242

4343
# Publish the NuGet package as an artifact, so they can be used in the following jobs
4444
- uses: actions/upload-artifact@v3

0 commit comments

Comments
 (0)