7 Commits

Author SHA1 Message Date
c1370b1f71 CI: Possible naming collition
Some checks failed
release-nuget-package / Release NuGet Package (push) Failing after 26s
2026-02-13 23:55:05 +01:00
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
df9bf69405 CI: Debugging
Some checks failed
release-nuget-package / Release NuGet Package (push) Failing after 31s
2026-02-13 23:44:04 +01:00
38aedff5c2 CI: Go back to valid bash
Some checks failed
release-nuget-package / Release NuGet Package (push) Failing after 35s
2026-02-13 20:33:15 +01:00
a798ee544e CI: Variablen testen
Some checks failed
release-nuget-package / Release NuGet Package (push) Failing after 25s
2026-02-13 20:30:47 +01:00
aece91aff0 CI: Print Vars and add source
Some checks failed
release-nuget-package / Release NuGet Package (push) Failing after 27s
2026-02-13 20:13:48 +01:00
b1786eb578 CI: fix dotnet nuget list source
Some checks failed
release-nuget-package / Release NuGet Package (push) Failing after 28s
2026-02-13 20:00:44 +01:00
3 changed files with 13 additions and 6 deletions

View File

@@ -17,12 +17,12 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: "10.0.x"
- name: "Get configured dotnet sources"
run: dotnet nuget list sources
- name: "Configure nuget source"
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: "Release to Package Registry"
run: dotnet nuget push --source gitea --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"
uses: akkuman/gitea-release-action@v1
with:

View File

@@ -17,7 +17,7 @@
</packageTypes>
</metadata>
<files>
<file src="./bin\$configuration$\$targetframework$\$ProjectName$.dll" target="lib\$targetframework$" />
<file src="./bin\$configuration$\$targetframework$\$ProjectName$.pdb" target="lib\$targetframework$" />
<file src="./bin\$Config$\$targetframework$\$ProjectName$.dll" target="lib\$targetframework$" />
<file src="./bin\$Config$\$targetframework$\$ProjectName$.pdb" target="lib\$targetframework$" />
</files>
</package>

View File

@@ -3,8 +3,15 @@ TargetFramework=$1
ProjectName=$2
Configuration=$3
echo "ENV Following:"
env
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}"
dotnet pack $ProjectName.nuspec "/p:targetframework=${TargetFramework};ProjectName=${ProjectName};Config=${Configuration}"
if [ $Configuration == 'PublishNuget' ]; then
echo "Skipping copy to Oqtane.Server/Packages"