meshtasticd-debian: Build multiple series (#5756)

This commit is contained in:
Austin
2025-01-05 14:24:05 -05:00
committed by GitHub
parent 031aecac66
commit d21d6c1301
4 changed files with 30 additions and 3 deletions

View File

@@ -5,6 +5,11 @@ on:
secrets:
PPA_GPG_PRIVATE_KEY:
required: true
inputs:
series:
description: 'Ubuntu series to target'
required: true
type: string
permissions:
contents: write
@@ -42,7 +47,9 @@ jobs:
working-directory: meshtasticd
run: debian/ci_pack_sdeb.sh
env:
SERIES: ${{ inputs.series }}
GPG_KEY_ID: ${{ steps.gpg.outputs.keyid }}
REVISION: ${{ github.sha }}
- name: Get release version string
working-directory: meshtasticd
@@ -54,7 +61,7 @@ jobs:
- name: Store binaries as an artifact
uses: actions/upload-artifact@v4
with:
name: firmware-debian-${{ steps.version.outputs.long }}-src
name: firmware-debian-${{ steps.version.outputs.long }}-${{ inputs.series }}-src
overwrite: true
path: |
meshtasticd_${{ steps.version.outputs.short }}*

View File

@@ -129,7 +129,13 @@ jobs:
board: ${{ matrix.board }}
package-ppa:
strategy:
fail-fast: false
matrix:
series: [plucky, oracular, noble, jammy]
uses: ./.github/workflows/package_ppa.yml
with:
series: ${{ matrix.series }}
secrets: inherit
package-raspbian:

View File

@@ -5,6 +5,11 @@ on:
secrets:
PPA_GPG_PRIVATE_KEY:
required: true
inputs:
series:
description: 'Ubuntu series to target'
required: true
type: string
workflow_dispatch:
permissions:
@@ -15,6 +20,8 @@ jobs:
build-debian-src:
uses: ./.github/workflows/build_debian_src.yml
secrets: inherit
with:
series: ${{ inputs.series }}
package-ppa:
runs-on: ubuntu-24.04
@@ -50,11 +57,11 @@ jobs:
- name: Download artifacts
uses: actions/download-artifact@v4
with:
name: firmware-debian-${{ steps.version.outputs.long }}-src
name: firmware-debian-${{ steps.version.outputs.long }}-${{ inputs.series }}-src
merge-multiple: true
- name: Display structure of downloaded files
run: ls -R
run: ls -lah
- name: Publish with dput
if: ${{ github.event_name != 'pull_request_target' && github.event_name != 'pull_request' }}