From 21336e8dc672b877477c5328f752bb39aa9377a3 Mon Sep 17 00:00:00 2001 From: trent Date: Fri, 2 Jan 2026 21:56:52 +0100 Subject: [PATCH] Update .woodpecker.yml --- .woodpecker.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.woodpecker.yml b/.woodpecker.yml index fd40dc4..c71017a 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -19,6 +19,23 @@ steps: commands: - dotnet restore + restore: + image: mcr.microsoft.com/dotnet/sdk:latest + environment: + BAGET_URL: + from_secret: http://srv51.mikr.us:20120/v3/index.json # np. https://twoj-serwer.pl/baget/v3/index.json + BAGET_API_KEY: # opcjonalnie, jeśli BaGet wymaga klucza do pobierania + from_secret: hfsa853nc9vfap53285ybndfahi58325hie242dsafa954 + commands: + - | + # Dodaj BaGet jako dodatkowe źródło NuGet + dotnet nuget add source "$BAGET_URL" --name internal-baget + + # Jeśli BaGet wymaga autentykacji do pobierania (rzadkie, ale możliwe) + # dotnet nuget update source internal-baget --username anything --password "$BAGET_API_KEY" --store-password-in-clear-text + + dotnet restore + test: image: mcr.microsoft.com/dotnet/sdk:latest commands: