Skip to content

Commit

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

- name: nbgv Version
id: nbgv-version
run: nbgv get-version -f json | ConvertFrom-Json
run: |
version_info=$(nbgv get-version -f json)
nuget_version=$(echo "$version_info" | grep '"NuGetPackageVersion"' | sed 's/.*: "\(.*\)".*/\1/')
echo "$version_info"
echo "version=$nuget_version" >> "$GITHUB_OUTPUT"
- name: Restore dependencies
run: dotnet restore Vertical.Slice.Template.sln
Expand Down

0 comments on commit 68f4b4f

Please sign in to comment.