From cbd419751ca9d929fe770b938543ef6ba3889572 Mon Sep 17 00:00:00 2001 From: Mohammad Babayi <35791547+GihanSoft@users.noreply.github.com> Date: Mon, 17 May 2021 12:22:48 +0430 Subject: [PATCH] Update publish.yml --- .github/workflows/publish.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 39f8148..3bad8be 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -12,13 +12,14 @@ jobs: steps: - uses: actions/checkout@v2 - run: dotnet restore - - run: dotnet test .\NaturalStringComparerTest\NaturalStringComparerTest.csproj + - name: test + run: dotnet test .\NaturalStringComparerTest\NaturalStringComparerTest.csproj - name: publish on version change id: publish_nuget uses: rohith/publish-nuget@v2 with: # Filepath of the project to be packaged, relative to root of repository - PROJECT_FILE_PATH: NaturalStringComparer.Unsafe + PROJECT_FILE_PATH: .\NaturalStringComparer.Unsafe\NaturalStringComparer.Unsafe.csproj # Regex pattern to extract version info in a capturing group # VERSION_REGEX: ^\s*(.*)<\/Version>\s*$