From ac6efcc9baad1b17f6de6301b2660e888ae2c2af Mon Sep 17 00:00:00 2001 From: Nik Date: Sun, 17 Dec 2023 13:42:17 +0000 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 666e423..ae28f65 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,6 +7,9 @@ on: branches: ["develop"] workflow_dispatch: +env: + VERSION: 0.0.0 + jobs: build: runs-on: windows-latest @@ -46,4 +49,4 @@ jobs: run: dotnet build src\HC.PageNotFoundManager\HC.PageNotFoundManager.csproj --configuration Release /p:Version=$VERSION - name: Pack project - run: dotnet pack --output nupkgs /p:PackageVersion=$VERSION .\src\PageNotFoundManager.sln + run: dotnet pack --output --no-build nupkgs /p:PackageVersion=$VERSION .\src\PageNotFoundManager.sln