From 2490fb260d4916bfedfdcb62c29c5819009a716a Mon Sep 17 00:00:00 2001 From: qwsdcvghyu89 <61093706+qwsdcvghyu89@users.noreply.github.com> Date: Fri, 5 Jun 2026 01:03:48 +1000 Subject: [PATCH] Fixed destination logic; updated action to use .net11 preview 4; fixed broken .csproj. --- .gitea/workflows/build_releases.yaml | 6 +++--- aeqw89.tools.Publish/Destination.cs | 2 +- aeqw89.tools.Publish/aeqw89.tools.Publish.csproj | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/build_releases.yaml b/.gitea/workflows/build_releases.yaml index 83245eb..5f17f0d 100644 --- a/.gitea/workflows/build_releases.yaml +++ b/.gitea/workflows/build_releases.yaml @@ -3,7 +3,7 @@ name: Nightly Build and Release on: push: branches: - - main + - master workflow_dispatch: jobs: @@ -17,10 +17,10 @@ jobs: - name: Checkout Code uses: actions/checkout@v4 - - name: Setup .NET 9.0 + - name: Setup .NET 11.0 uses: actions/setup-dotnet@v4 with: - dotnet-version: '9.0.x' + dotnet-version: '11.0.100-preview.4.26230.115' # NEW: Authenticate with your private Gitea NuGet registry - name: Add Gitea NuGet Source diff --git a/aeqw89.tools.Publish/Destination.cs b/aeqw89.tools.Publish/Destination.cs index cb2c8d3..5268dce 100644 --- a/aeqw89.tools.Publish/Destination.cs +++ b/aeqw89.tools.Publish/Destination.cs @@ -146,7 +146,7 @@ sealed record GitDestination(DestinationContext Context, string Source, string A // gitea source structure = https://gitea.example.com/api/packages/{owner}/nuget/index.json var keyResult = GetApiKey("gitea"); if (keyResult is ReadableError error) return error; - return new GitDestination(context, $"https://gitea.example.com/api/packages/{repoOwner}/nuget/index.json", keyResult.Unwrap(), verbose).Ok(); + return new GitDestination(context, $"https://git.main.qwsdcvghyu.com/api/packages/{repoOwner}/nuget/index.json", keyResult.Unwrap(), verbose).Ok(); } public static Result CreateForGithub(DestinationContext context, string repoOwner, bool verbose = false) { diff --git a/aeqw89.tools.Publish/aeqw89.tools.Publish.csproj b/aeqw89.tools.Publish/aeqw89.tools.Publish.csproj index 6c5a684..2a2b55e 100644 --- a/aeqw89.tools.Publish/aeqw89.tools.Publish.csproj +++ b/aeqw89.tools.Publish/aeqw89.tools.Publish.csproj @@ -7,7 +7,7 @@ Exe - net9.0 + net11.0 enable enable preview