1 Commits

Author SHA1 Message Date
613b1e1843 CI: Fix: Use correct name
Some checks failed
release-nuget-package / Release NuGet Package (push) Failing after 25s
2026-02-13 23:48:44 +01:00
2 changed files with 2 additions and 6 deletions

View File

@@ -21,10 +21,6 @@ jobs:
run: dotnet nuget add source --name DAV --username kocoder --password ${{ secrets.REGISTRY_TOKEN_KOCODER }} https://git.kocoder.xyz/api/packages/Diplomarbeit-Absolventenverein/nuget/index.json --store-password-in-clear-text
- name: "Build Interfaces Project"
run: dotnet build -c PublishNuget ./Interfaces/Interfaces.csproj
- name: "echo and export ref_name"
run: echo ${{ gitea.ref_name }}
- name: "export ref_name"
run: export REF_NAME=${{ gitea.ref_name }}
- name: "Release to Package Registry"
run: dotnet nuget push --source DAV --api-key ${{ secrets.REGISTRY_TOKEN_KOCODER }} ./Interfaces/Interfaces.*.nupkg
- name: "Create release"

View File

@@ -6,9 +6,9 @@ Configuration=$3
echo "ENV Following:"
env
echo "ENV: ${TargetFramework} ${ProjectName} ${Configuration} RN: ${REF_NAME}"
echo "ENV: ${TargetFramework} ${ProjectName} ${Configuration} RN: ${GITHUB_REF_NAME}"
cat $ProjectName.nuspec
find . -name *.nupkg -delete
dotnet pack $ProjectName.nuspec "/p:targetframework=${TargetFramework};ProjectName=${ProjectName};configuration=${Configuration}"