Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 613b1e1843 | |||
| df9bf69405 | |||
| 38aedff5c2 | |||
| a798ee544e | |||
| aece91aff0 | |||
| b1786eb578 |
@@ -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:
|
||||
|
||||
@@ -3,6 +3,13 @@ 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}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user