Skip to content

Commit

Permalink
Add GitVersion steps to publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Smalls1652 committed Mar 16, 2024
1 parent 5e9b24b commit 9010e9c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/publish-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ jobs:
with:
global-json-file: global.json

- name: Install .NET tools
run: dotnet tool restore

- name: Update project files with GitVersion
run: dotnet tool run dotnet-gitversion /updateprojectfiles

- name: Configure GitHub package registry source
run: dotnet nuget add source --username Smalls1652 --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/Smalls1652/index.json"

Expand Down

0 comments on commit 9010e9c

Please sign in to comment.