Skip to content

Commit

Permalink
Install NuGet during build
Browse files Browse the repository at this point in the history
  • Loading branch information
droyad committed Jan 30, 2024
1 parent c87a43f commit 28b3cfe
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.0.x

- name: Install NuGet
uses: NuGet/[email protected]

- name: Install GitVersion
uses: gittools/actions/gitversion/setup@v0
Expand Down Expand Up @@ -61,7 +64,7 @@ jobs:
working-directory: src

- name: Pack placeholder dbup package
run: dotnet pack ./dbup/dbup.nuspec -OutputDirectory ../artifacts -Version $env:GitVersion_SemVer
run: nuget pack ./dbup/dbup.nuspec -OutputDirectory ../artifacts -Version $env:GitVersion_SemVer
working-directory: src

- name: Push NuGet packages to GitHub Packages ⬆️
Expand Down

0 comments on commit 28b3cfe

Please sign in to comment.