Compare commits

...

10 Commits

Author SHA1 Message Date
b6e9476bda Fixed: downstream Theme
All checks were successful
build-debian-package / Build the debian package (push) Successful in 5m9s
2026-01-30 12:36:50 +01:00
6c2a122796 Update: Theme v1.0.13
All checks were successful
build-debian-package / Build the debian package (push) Successful in 4m38s
2026-01-30 11:08:28 +01:00
63d2e92f8b Update: Theme v1.0.13
Some checks failed
build-debian-package / Build the debian package (push) Failing after 29s
2026-01-30 09:38:49 +01:00
dd68c66b87 Create a release with all Modules as artifacts
All checks were successful
build-debian-package / Build the debian package (push) Successful in 4m45s
2026-01-29 23:29:49 +01:00
568bbb5b5e Make Packages copy recursive
All checks were successful
build-debian-package / Build the debian package (push) Successful in 4m44s
2026-01-29 23:08:51 +01:00
14cc769418 Fix: rights and embed packages into the APT-Package
All checks were successful
build-debian-package / Build the debian package (push) Successful in 4m25s
2026-01-29 23:03:41 +01:00
76feb7615d Create Oqtane.Server/Packages folder in pipeline
All checks were successful
build-debian-package / Build the debian package (push) Successful in 4m52s
2026-01-29 22:37:26 +01:00
c3d521e5a0 Use: dotnet pack instead of nuget pack...
Some checks failed
build-debian-package / Build the debian package (push) Has been cancelled
2026-01-29 22:31:02 +01:00
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
8 changed files with 24 additions and 13 deletions

View File

@@ -23,4 +23,9 @@ jobs:
- name: "Build .deb"
run: ./run-build.sh "${{ gitea.ref_name }}" "./alumnihub_10.0_amd64"
- name: "Upload .deb"
run: curl --user kocoder:${{ secrets.REGISTRY_TOKEN_KOCODER }} --upload-file ./alumnihub_10.0_amd64.deb https://git.kocoder.xyz/api/packages/Diplomarbeit-Absolventenverein/debian/pool/trixie/main/upload
run: curl --user kocoder:${{ secrets.REGISTRY_TOKEN_KOCODER }} --upload-file ./alumnihub_10.0_amd64.deb https://git.kocoder.xyz/api/packages/Diplomarbeit-Absolventenverein/debian/pool/trixie/main/upload
- uses: akkuman/gitea-release-action@v1
with:
files: |-
./alumnihub_10.0_amd64.deb
./alumnihub_10.0_amd64/opt/alumnihub/Packages/*.nupkg

View File

@@ -1,2 +1,4 @@
#!/bin/bash
adduser --system alumnihub
adduser --system alumnihub
chown -R alumnihub:root /opt/alumnihub

View File

@@ -5,9 +5,11 @@ 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 -o ./alumnihub_10.0_amd64/opt/alumnihub
dotnet build ./oqtane.framework/Oqtane.slnx --no-restore
dotnet build -c Release ./oqtane.framework/Oqtane.slnx --no-restore
dotnet publish -c Release ./oqtane.framework/Oqtane.Server/Oqtane.Server.csproj -o ./alumnihub_10.0_amd64/opt/alumnihub --no-restore
mkdir -p ./oqtane.framework/Oqtane.Server/Packages
echo ""
echo "Building Modules and Themes"
@@ -15,11 +17,13 @@ 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
dotnet restore ./$module/*.slnx
dotnet build -c Release ./$module/*.slnx --no-restore
dotnet publish -c Release ./$module/*.slnx --no-restore
done
cp -r ./oqtane.framework/Oqtane.Server/Packages ./alumnihub_10.0_amd64/opt/alumnihub/Packages
echo $VERSION $DEBIAN_PACKAGE_PATH
echo "Version: ${VERSION}" >> $DEBIAN_PACKAGE_PATH/DEBIAN/control