Commit 15765cf2 authored by Viktor Legodzinski's avatar Viktor Legodzinski
Browse files

fix: bump ci 3

parent 204bf08d
Loading
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -248,10 +248,11 @@ publish_nuget:
    - job: test_x64
  script:
    - Write-Output "INFO Publishing NuGet package version ${env:NUGET_VERSION}..."
    - $NUGET_SOURCE_URL = "${env:CI_API_V4_URL}/projects/${env:CI_PROJECT_ID}/packages/nuget/index.json"
    - 'if (dotnet nuget list source | Select-String -Quiet "gitlab") { dotnet nuget remove source gitlab }'
    - dotnet nuget add source --name gitlab --username gitlab-ci-token --password $env:CI_JOB_TOKEN --store-password-in-clear-text "$NUGET_SOURCE_URL"
    - dotnet nuget push *.nupkg --source gitlab
    - $NUGET_URL = "${env:CI_API_V4_URL}/projects/${env:CI_PROJECT_ID}/packages/nuget/index.json"
    
    # PUSH DIRECTLY using the Job Token as the API Key.
    - dotnet nuget push "*.nupkg" --api-key $env:GITLAB_TOKEN --source $NUGET_URL --skip-duplicate
    
    - Write-Output "INFO Successfully published NuGet package."
  rules:
    # This job only runs if a version was created earlier in the pipeline.
+1 −0
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@ using System.Runtime.InteropServices;
namespace PolyHook2.Native;

/// <summary>
/// 
/// An abstract base class providing the core implementation for a simple function detour.
/// It handles native resource management and the interoperability logic for the trampoline address.
/// </summary>