From f2472a3ea2b321fe51929bbff36312f29fc4dde5 Mon Sep 17 00:00:00 2001 From: Simon Diesenreiter Date: Tue, 15 Apr 2025 14:55:56 +0200 Subject: [PATCH] fix: login to NuGet feed at build refs NOISSUE --- .gitea/workflows/release.yml | 7 +++++++ nuget.config | 6 +++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index e3508e2..ec710b2 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -57,6 +57,13 @@ jobs: username: gitearobot password: ${{ secrets.PACKAGE_GITEA_PAT }} registry: git.disi.dev + - name: Login to HomeLab NuGet feed + uses: sersoft-gmbh/dotnet-nuget-login-action@v1 + with: + registry-url: 'https://git.disi.dev/api/packages/HomeLab/nuget/index.json' + registry-name: HomeLab + username: gitearobot + password: ${{ secrets.PACKAGE_GITEA_PAT }} - name: Build and publish run: | REPOSITORY_OWNER=$(echo "$GITHUB_REPOSITORY" | awk -F '/' '{print $1}' | tr '[:upper:]' '[:lower:]') diff --git a/nuget.config b/nuget.config index 345b9da..5274ad1 100644 --- a/nuget.config +++ b/nuget.config @@ -1,11 +1,11 @@ - + - + - + \ No newline at end of file