Compare commits

...

3 Commits

Author SHA1 Message Date
b7b950d4ac Install nuget
Some checks failed
build-debian-package / Build the debian package (push) Failing after 30s
2026-01-29 21:44:53 +01:00
4fd49d0ea0 Add: nuget into pipeline
All checks were successful
build-debian-package / Build the debian package (push) Successful in 4m35s
2026-01-29 21:38:43 +01:00
458514e04b New: Add fixProps to bundle all modules correctly
All checks were successful
build-debian-package / Build the debian package (push) Successful in 4m3s
2026-01-29 21:32:18 +01:00
9 changed files with 19 additions and 8 deletions

View File

@@ -20,6 +20,8 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: "10.0.x"
- name: "Install nuget"
run: apt install nuget -y
- name: "Build .deb"
run: ./run-build.sh "${{ gitea.ref_name }}" "./alumnihub_10.0_amd64"
- name: "Upload .deb"

3
.gitmodules vendored
View File

@@ -19,3 +19,6 @@
[submodule "Module.PremiumArea"]
path = Module.PremiumArea
url = https://git.kocoder.xyz/Diplomarbeit-Absolventenverein/Module.PremiumArea.git
[submodule "fixProps"]
path = fixProps
url = https://github.com/oqtane/oqtane.FixProps

1
fixProps Submodule

Submodule fixProps added at 10f645be52

View File

@@ -2,19 +2,24 @@
VERSION="$1"
DEBIAN_PACKAGE_PATH="$2"
echo "Building oqtane.framework"
dotnet restore ./oqtane.framework/Oqtane.slnx
dotnet build ./oqtane.framework/Oqtane.slnx
dotnet build -c Release ./oqtane.framework/Oqtane.slnx
dotnet publish -c Release ./oqtane.framework/Oqtane.Server/Oqtane.Server.csproj
dotnet publish -c Release ./oqtane.framework/Oqtane.Server/Oqtane.Server.csproj -o ./alumnihub_10.0_amd64/opt/alumnihub
echo ""
echo "Building Modules and Themes"
for module in $(ls . | grep -E 'Module|Theme')
do
echo "######## Building $module"
dotnet restore ./$module/*.slnx
dotnet build -c Release ./$module/*.slnx
dotnet publish -c Release ./$module/*.slnx
done
echo $VERSION $DEBIAN_PACKAGE_PATH
echo "Version: ${VERSION}" >> $DEBIAN_PACKAGE_PATH/DEBIAN/control