mirror of
https://github.com/yawaflua/Discord.Net.git
synced 2025-12-08 19:39:35 +02:00
Fix remove github broken auth
This commit is contained in:
7
.github/workflows/nuget.yml
vendored
7
.github/workflows/nuget.yml
vendored
@@ -38,11 +38,6 @@ jobs:
|
||||
|
||||
- name: Pack
|
||||
run: dotnet pack --no-build --configuration Release -p:PackageVersion=${{ env.PACKAGE_VERSION }}
|
||||
- name: Add GitHub source
|
||||
run: dotnet nuget add source --username ${{ github.repository_owner }} --password ${{ secrets.GHCR_TOKEN }} --store-password-in-clear-text --name github ${{ env.GITHUB_SOURCE }}
|
||||
|
||||
- name: Publish to GitHub Packages
|
||||
run: dotnet nuget push "**/*.nupkg" --source "github"
|
||||
|
||||
- name: Publish to NuGet
|
||||
run: dotnet nuget push "**/*.nupkg" --source ${{ env.NUGET_SOURCE }} --api-key ${{ secrets.NUGET_API_KEY }}
|
||||
run: dotnet nuget push "**/*.nupkg" --source ${{ env.NUGET_SOURCE }} --api-key ${{ secrets.NUGET_API_KEY }}
|
||||
|
||||
Reference in New Issue
Block a user