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