Fixed dotnet nuget add to work in non-idempotent environments
Nightly Build and Release / Build and Release Nightly (push) Failing after 11s
Nightly Build and Release / Build and Release Nightly (push) Failing after 11s
This commit is contained in:
@@ -22,14 +22,11 @@ jobs:
|
||||
with:
|
||||
dotnet-version: '11.0.100-preview.4.26230.115'
|
||||
|
||||
# NEW: Authenticate with your private Gitea NuGet registry
|
||||
# Authenticate with your private Gitea NuGet registry
|
||||
- name: Add Gitea NuGet Source
|
||||
run: >
|
||||
dotnet nuget add source "https://git.main.qwsdcvghyu.com/api/packages/riley/nuget/index.json"
|
||||
--name "GiteaRegistry"
|
||||
--username "riley"
|
||||
--password "${{ secrets.PACKAGES_KEY }}"
|
||||
--store-password-in-clear-text
|
||||
run: |
|
||||
dotnet nuget remove source "GiteaRegistry" || true
|
||||
dotnet nuget add source "https://git.main.qwsdcvghyu.com/api/packages/riley/nuget/index.json" --name "GiteaRegistry" --username "riley" --password "${{ secrets.PACKAGES_KEY }}" --store-password-in-clear-text
|
||||
|
||||
- name: 'Execute .NET Publish Target'
|
||||
run: dotnet build aeqw89.tools.Publish/aeqw89.tools.Publish.csproj -t:PublishAll
|
||||
|
||||
Reference in New Issue
Block a user