CI: Fix: Use correct name
Some checks failed
release-nuget-package / Release NuGet Package (push) Failing after 25s
Some checks failed
release-nuget-package / Release NuGet Package (push) Failing after 25s
This commit is contained in:
@@ -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
|
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"
|
- name: "Build Interfaces Project"
|
||||||
run: dotnet build -c PublishNuget ./Interfaces/Interfaces.csproj
|
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"
|
- name: "Release to Package Registry"
|
||||||
run: dotnet nuget push --source DAV --api-key ${{ secrets.REGISTRY_TOKEN_KOCODER }} ./Interfaces/Interfaces.*.nupkg
|
run: dotnet nuget push --source DAV --api-key ${{ secrets.REGISTRY_TOKEN_KOCODER }} ./Interfaces/Interfaces.*.nupkg
|
||||||
- name: "Create release"
|
- name: "Create release"
|
||||||
|
|||||||
@@ -6,9 +6,9 @@ Configuration=$3
|
|||||||
echo "ENV Following:"
|
echo "ENV Following:"
|
||||||
env
|
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
|
find . -name *.nupkg -delete
|
||||||
dotnet pack $ProjectName.nuspec "/p:targetframework=${TargetFramework};ProjectName=${ProjectName};configuration=${Configuration}"
|
dotnet pack $ProjectName.nuspec "/p:targetframework=${TargetFramework};ProjectName=${ProjectName};configuration=${Configuration}"
|
||||||
|
|||||||
Reference in New Issue
Block a user