Skip to content

Commit f484573

Browse files
authored
Update release-pipeline.yaml
1 parent 038c289 commit f484573

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release-pipeline.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ jobs:
2424
- name: Get .NET application version
2525
id: get_version
2626
run: |
27-
VERSION=$(dotnet run --no-build --configuration Release -- --version | tr -d '\r\n')
27+
dotnet build --configuration Release
28+
VERSION=$(dotnet run --configuration Release -- --version | tr -d '\r\n')
2829
echo "Application version: $VERSION"
2930
echo "::set-output name=version::$VERSION"
3031

0 commit comments

Comments
 (0)