fix: login to NuGet feed at build refs NOISSUE
This commit is contained in:
		@@ -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:]')
 | 
			
		||||
 
 | 
			
		||||
@@ -1,11 +1,11 @@
 | 
			
		||||
<?xml version="1.0" encoding="utf-8"?>
 | 
			
		||||
<?xml version="1.0" encoding="utf-8"?>
 | 
			
		||||
<configuration>
 | 
			
		||||
  <packageSources>
 | 
			
		||||
    <!--To inherit the global NuGet package sources remove the <clear/> line below -->
 | 
			
		||||
    <clear />
 | 
			
		||||
    <add key="nuget" value="https://api.nuget.org/v3/index.json" />
 | 
			
		||||
    <!--add key="gitea-projects" value="https://git.disi.dev/api/packages/Projects/nuget/index.json" /-->
 | 
			
		||||
    <add key="gitea-homelab" value="https://git.disi.dev/api/packages/Homelab/nuget/index.json" />
 | 
			
		||||
    <!--add key="gitea-artifacts" value="https://git.disi.dev/api/packages/Artifacts/nuget/index.json" /-->
 | 
			
		||||
    <add key="HomeLab" value="https://git.disi.dev/api/packages/HomeLab/nuget/index.json" />
 | 
			
		||||
  </packageSources>
 | 
			
		||||
</configuration>
 | 
			
		||||
		Reference in New Issue
	
	Block a user