All checks were successful
build-debian-package / Build the debian package (push) Successful in 4m35s
29 lines
954 B
YAML
29 lines
954 B
YAML
name: build-debian-package
|
|
on:
|
|
push:
|
|
tags:
|
|
- '*'
|
|
|
|
|
|
jobs:
|
|
build:
|
|
name: Build the debian package
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: "Git clone"
|
|
run: git clone ${{ gitea.server_url }}/${{ gitea.repository }}.git .
|
|
- name: "Git checkout"
|
|
run: git checkout "${{ gitea.sha }}"
|
|
- name: "Submodules auschecken"
|
|
run: git submodule update --init
|
|
- name: "Dotnet SDK einrichten"
|
|
uses: actions/setup-dotnet@v4
|
|
with:
|
|
dotnet-version: "10.0.x"
|
|
- uses: nuget/setup-nuget@v2
|
|
with:
|
|
nuget-version: '6.x'
|
|
- 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 |