From 5196ee39cb8d8122f794fe0b100e4757887028ea Mon Sep 17 00:00:00 2001
From: Austin <vidplace7@gmail.com>
Date: Sun, 5 Jan 2025 12:44:05 -0500
Subject: [PATCH] meshtasticd: debian checkout to subdir (#5752)

---
 .github/workflows/build_debian_src.yml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/build_debian_src.yml b/.github/workflows/build_debian_src.yml
index cc93b5748..72e4adf3e 100644
--- a/.github/workflows/build_debian_src.yml
+++ b/.github/workflows/build_debian_src.yml
@@ -18,6 +18,7 @@ jobs:
         uses: actions/checkout@v4
         with:
           submodules: recursive
+          path: meshtasticd
           ref: ${{github.event.pull_request.head.ref}}
           repository: ${{github.event.pull_request.head.repo.full_name}}
 
@@ -38,11 +39,13 @@ jobs:
         id: gpg
 
       - name: Fetch libdeps, package debian source
+        working-directory: meshtasticd
         run: debian/ci_pack_sdeb.sh
         env:
           GPG_KEY_ID: ${{ steps.gpg.outputs.keyid }}
 
       - name: Get release version string
+        working-directory: meshtasticd
         run: |
           echo "long=$(./bin/buildinfo.py long)" >> $GITHUB_OUTPUT
           echo "short=$(./bin/buildinfo.py short)" >> $GITHUB_OUTPUT
@@ -54,4 +57,4 @@ jobs:
           name: firmware-debian-${{ steps.version.outputs.long }}-src.zip
           overwrite: true
           path: |
-            ../meshtasticd_${{ steps.version.outputs.short }}*
+            meshtasticd_${{ steps.version.outputs.short }}*