meshtasticd: debian checkout to subdir (#5752)

This commit is contained in:
Austin 2025-01-05 12:44:05 -05:00 committed by GitHub
parent 02a5a91da0
commit 5196ee39cb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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