fix: login to NuGet feed at build refs NOISSUE
This commit is contained in:
parent
4d657cf887
commit
f2472a3ea2
@ -57,6 +57,13 @@ jobs:
|
|||||||
username: gitearobot
|
username: gitearobot
|
||||||
password: ${{ secrets.PACKAGE_GITEA_PAT }}
|
password: ${{ secrets.PACKAGE_GITEA_PAT }}
|
||||||
registry: git.disi.dev
|
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
|
- name: Build and publish
|
||||||
run: |
|
run: |
|
||||||
REPOSITORY_OWNER=$(echo "$GITHUB_REPOSITORY" | awk -F '/' '{print $1}' | tr '[:upper:]' '[:lower:]')
|
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>
|
<configuration>
|
||||||
<packageSources>
|
<packageSources>
|
||||||
<!--To inherit the global NuGet package sources remove the <clear/> line below -->
|
<!--To inherit the global NuGet package sources remove the <clear/> line below -->
|
||||||
<clear />
|
<clear />
|
||||||
<add key="nuget" value="https://api.nuget.org/v3/index.json" />
|
<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-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="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>
|
</packageSources>
|
||||||
</configuration>
|
</configuration>
|
Loading…
x
Reference in New Issue
Block a user