Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
NikRimington authored Dec 17, 2023
1 parent cd88686 commit ac6efcc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
branches: ["develop"]
workflow_dispatch:

env:
VERSION: 0.0.0

jobs:
build:
runs-on: windows-latest
Expand Down Expand Up @@ -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

0 comments on commit ac6efcc

Please sign in to comment.