From ebdec6918c499aa60c40d758ee76e9e73a307186 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Sun, 6 Oct 2024 16:28:39 -0400 Subject: [PATCH] Build in subdirectory --- .forgejo/workflows/release-build.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.forgejo/workflows/release-build.yml b/.forgejo/workflows/release-build.yml index 0e361c4..fd0bc01 100644 --- a/.forgejo/workflows/release-build.yml +++ b/.forgejo/workflows/release-build.yml @@ -19,19 +19,21 @@ jobs: sudo hostname host.docker.internal - name: Checkout Sources uses: actions/checkout@v4 + with: + path: pve-kernel-thunderx - name: Checkout submodules - run: git submodule update --init --depth 16 --jobs 3 - - name: Setup build + run: git -C pve-kernel-thunderx submodule update --init --depth 16 --jobs 3 + - name: Build Kernel run: | + cd pve-kernel-thunderx debian/rules debian/control sudo mk-build-deps --tool 'apt-get --no-install-recommends --yes' --install debian/control - - name: Build Kernel - run: debuild --no-lintian -ePVE* --jobs=auto -b -uc -us + debuild --no-lintian -ePVE* --jobs=auto -b -uc -us - name: Upload Artifacts uses: actions/upload-artifact@v3 with: name: debs - path: "../*.deb" + path: "*.deb" release-deploy: needs: [release-build] runs-on: aarch64