Compare commits

...

4 Commits

Author SHA1 Message Date
a62819232e Configure nuget source in pipeline
All checks were successful
build-debian-package / Build the debian package (push) Successful in 4m37s
2026-02-24 12:51:56 +01:00
3f451b731c Fix: pipeline
All checks were successful
build-debian-package / Build the debian package (push) Successful in 4m47s
2026-02-24 12:46:40 +01:00
5dff6d2bad Fix: run-build.sh
All checks were successful
build-debian-package / Build the debian package (push) Successful in 4m31s
2026-02-24 11:51:38 +01:00
320d02f734 Update: 24.02.2025
All checks were successful
build-debian-package / Build the debian package (push) Successful in 4m57s
2026-02-24 11:46:09 +01:00
9 changed files with 14 additions and 11 deletions

View File

@@ -2,7 +2,7 @@ name: build-debian-package
on: on:
push: push:
tags: tags:
- '*' - "*"
jobs: jobs:
build: build:
@@ -19,6 +19,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: "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 .deb" - name: "Build .deb"
run: ./run-build.sh "${{ gitea.ref_name }}" "./alumnihub" "Release" run: ./run-build.sh "${{ gitea.ref_name }}" "./alumnihub" "Release"
- name: "Upload .deb" - name: "Upload .deb"
@@ -28,4 +30,4 @@ jobs:
with: with:
files: |- files: |-
./alumnihub.deb ./alumnihub.deb
./alumnihub/opt/alumnihub/Packages/*.nupkg ./alumnihub/opt/alumnihub/Packages/*.nupkg

View File

@@ -17,10 +17,11 @@ dotnet build ./oqtane.framework/Oqtane.slnx --no-restore
dotnet build -c "$ENVIRONMENT" ./oqtane.framework/Oqtane.slnx --no-restore dotnet build -c "$ENVIRONMENT" ./oqtane.framework/Oqtane.slnx --no-restore
dotnet publish -c "$ENVIRONMENT" ./oqtane.framework/Oqtane.Server/Oqtane.Server.csproj -o ./alumnihub/opt/alumnihub --no-restore dotnet publish -c "$ENVIRONMENT" ./oqtane.framework/Oqtane.Server/Oqtane.Server.csproj -o ./alumnihub/opt/alumnihub --no-restore
dotnet build -c "$ENVIRONMENT" ./interfaces/SZUAbsolventenverein.slnx --no-restore
mkdir -p ./oqtane.framework/Oqtane.Server/Packages mkdir -p ./oqtane.framework/Oqtane.Server/Packages
dotnet restore ./interfaces/SZUAbsolventenverein.slnx
dotnet build -c "$ENVIRONMENT" ./interfaces/SZUAbsolventenverein.slnx --no-restore
echo "" echo ""
echo "Building Modules and Themes" echo "Building Modules and Themes"