Fix path in dotnet nuget push command

Modified the 'publish-nightly.yaml' workflow file to correct the path in the dotnet nuget push command. This was done to ensure the correct path to the '.dotnet' directory. This change will ensure that the nuget packages and symbol packages will be pushed correctly.
This commit is contained in:
Andrey Akinshin 2023-07-28 13:45:45 +02:00
Родитель dc365e1cf0
Коммит a89ad265c1
1 изменённых файлов: 2 добавлений и 2 удалений

4
.github/workflows/publish-nightly.yaml поставляемый
Просмотреть файл

@ -24,8 +24,8 @@ jobs:
- name: Publish nupkg
env:
MYGET_API_KEY: ${{ secrets.MYGET_API_KEY }}
run: .dotnet/dotnet nuget push **/*.nupkg --source https://www.myget.org/F/benchmarkdotnet/api/v3/index.json --api-key $MYGET_API_KEY --timeout 600
run: ./.dotnet/dotnet nuget push **/*.nupkg --source https://www.myget.org/F/benchmarkdotnet/api/v3/index.json --api-key $MYGET_API_KEY --timeout 600
- name: Publish snupkg
env:
MYGET_API_KEY: ${{ secrets.MYGET_API_KEY }}
run: .dotnet/dotnet nuget push **/*.snupkg --source https://www.myget.org/F/benchmarkdotnet/api/v3/index.json --api-key $MYGET_API_KEY --timeout 600
run: ./.dotnet/dotnet nuget push **/*.snupkg --source https://www.myget.org/F/benchmarkdotnet/api/v3/index.json --api-key $MYGET_API_KEY --timeout 600