Skip to content

Commit

Permalink
build: change in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
mehdihadeli committed Aug 22, 2024
1 parent 776fe97 commit 768975e
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,11 @@ jobs:

# https://github.com/dotnet/Nerdbank.GitVersioning/blob/81162b84f1e81864d3c79ddfc4ce9794ae065574/doc/nbgv-cli.md
- name: Install nbgv dotnet tools
run: dotnet tool install -g nbgv
run: dotnet tool install --global nbgv

- name: nbgv Version
id: nbgv-version
run: |
$version = nbgv get-version -f json | ConvertFrom-Json
echo $version
echo "version=$($version.NuGetPackageVersion)" >> "$GITHUB_OUTPUT"
run: nbgv get-version -f json | ConvertFrom-Json

- name: Restore dependencies
run: dotnet restore Vertical.Slice.Template.sln
Expand Down

0 comments on commit 768975e

Please sign in to comment.