Add NuGet source for GitHub Packages

This commit is contained in:
2026-01-15 21:38:46 +01:00
committed by GitHub
Unverified
parent d2bc6be2c6
commit 44d68d49b2

View File

@@ -54,6 +54,8 @@ jobs:
uses: actions/setup-dotnet@v3
with:
dotnet-version: 10.0.x
- name: Add source
run: dotnet nuget add source --username TimetableDesigner --password ${{secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/TimetableDesigner/index.json"
- name: Publish
run: dotnet nuget push ${{ github.workspace}}/nuget/*.nupkg --source "github" --api-key ${{ secrets.GITHUB_TOKEN }} --skip-duplicate
- name: Create Release