File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -42,17 +42,17 @@ jobs:
4242 - name : Test
4343 run : dotnet test --no-build --configuration Release --verbosity normal
4444 - name : Pack
45- if : ("${{ github.ref }}".startsWith(" refs/tags/v") )
45+ if : startsWith( github.ref, ' refs/tags/v' )
4646 run : dotnet pack -p:PackageVersion=${{ env.nugetVersion }} --configuration Release -o ${{env.DOTNET_ROOT}}/TestTools.ConsolePack --no-build
4747 - name : Upload Artifacts
48- if : ("${{ github.ref }}".startsWith(" refs/tags/v") )
48+ if : startsWith( github.ref, ' refs/tags/v' )
4949 uses : actions/upload-artifact@v2
5050 with :
5151 name : NuGet
5252 path : ${{env.DOTNET_ROOT}}/TestTools.ConsolePack
5353
5454 deploy :
55- if : ("${{ github.ref }}".startsWith(" refs/tags/v") )
55+ if : startsWith( github.ref, ' refs/tags/v' )
5656 runs-on : ubuntu-latest
5757 needs : build-and-test
5858 environment :
6565 - name : Push NuGet
6666 run : |
6767 $tagVersion = "${{ github.ref }}".substring(11)
68- dotnet nuget push ${{ github.workspace }}/TestTools.ConsolePack/IntelliTect.TestTools.Console.$tagVersion.nupkg --source https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_API_KEY }} --skip-duplicate
68+ dotnet nuget push ${{ github.workspace }}/TestTools.ConsolePack/IntelliTect.TestTools.Console.$tagVersion-ci2 .nupkg --source https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_API_KEY }} --skip-duplicate
You can’t perform that action at this time.
0 commit comments