fixed nuget packaging / publishing

This commit is contained in:
alterNERDtive 2022-07-11 10:38:53 +02:00
parent c20130e31e
commit cb54257224
2 changed files with 3 additions and 2 deletions

View file

@ -36,10 +36,10 @@ jobs:
run: dotnet test run: dotnet test
- name: Create NuGet package - name: Create NuGet package
run: dotnet pack -c release run: dotnet pack -c release "VoiceAttack-Framework/VoiceAttack-Framework.csproj"
- name: Push NuGet package - name: Push NuGet package
run: dotnet nuget push "VoiceAttack-Framework/bin/Release/alterNERDtive.YAVAPF.*.nupkg" -source 'https://api.nuget.org/v3/index.json' -apikey ${{secrets.NUGET_AUTH_TOKEN}} run: dotnet nuget push "VoiceAttack-Framework\bin\Release\alterNERDtive.YAVAPF.*.nupkg" --source 'https://api.nuget.org/v3/index.json' --api-key ${{secrets.NUGET_AUTH_TOKEN}}
- name: Draft release - name: Draft release
uses: ncipollo/release-action@v1 uses: ncipollo/release-action@v1

View file

@ -6,6 +6,7 @@
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<GenerateDocumentationFile>true</GenerateDocumentationFile> <GenerateDocumentationFile>true</GenerateDocumentationFile>
<IsPackable>false</IsPackable>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>