Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| aece91aff0 |
@@ -17,8 +17,8 @@ jobs:
|
|||||||
uses: actions/setup-dotnet@v4
|
uses: actions/setup-dotnet@v4
|
||||||
with:
|
with:
|
||||||
dotnet-version: "10.0.x"
|
dotnet-version: "10.0.x"
|
||||||
- name: "Get configured dotnet sources"
|
- name: "Configure nuget source"
|
||||||
run: dotnet nuget list 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"
|
- name: "Build Interfaces Project"
|
||||||
run: dotnet build -c PublishNuget ./Interfaces/Interfaces.csproj
|
run: dotnet build -c PublishNuget ./Interfaces/Interfaces.csproj
|
||||||
- name: "Release to Package Registry"
|
- name: "Release to Package Registry"
|
||||||
|
|||||||
@@ -3,6 +3,9 @@ TargetFramework=$1
|
|||||||
ProjectName=$2
|
ProjectName=$2
|
||||||
Configuration=$3
|
Configuration=$3
|
||||||
|
|
||||||
|
echo "ENV: ${TargetFramework} ${ProjectName} ${Configuration}"
|
||||||
|
|
||||||
|
|
||||||
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