Fixed dotnet build commands in publish action

This commit is contained in:
2026-02-20 22:58:41 +01:00
parent 9b85fba295
commit 56ee4fab6c

View File

@@ -19,11 +19,11 @@ jobs:
# Build project
- name: Build project
run: dotnet build Moonlight.PluginTemplate --configuration Release
run: dotnet build Moonlight.PluginTemplate.csproj --configuration Release
# Publish project
- name: Publish NuGet package
run: dotnet pack Moonlight.PluginTemplate --configuration Release --output ./artifacts
run: dotnet pack Moonlight.PluginTemplate.csproj --configuration Release --output ./artifacts
- name: Push nuget package
run: dotnet nuget push ./artifacts/*.nupkg --skip-duplicate --source https://git.battlestati.one/api/packages/Moonlight-Panel/nuget/index.json --api-key ${{ secrets.ACCESS_TOKEN }}