From: Remi Gacogne Date: Thu, 4 Sep 2025 13:18:29 +0000 (+0200) Subject: Add a dispatch workflow to test package building for exotic distributions X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F16078%2Fhead;p=thirdparty%2Fpdns.git Add a dispatch workflow to test package building for exotic distributions Signed-off-by: Remi Gacogne --- diff --git a/.github/workflows/build-exotic-distributions-packages-dispatch.yml b/.github/workflows/build-exotic-distributions-packages-dispatch.yml new file mode 100644 index 000000000..bf355f1b8 --- /dev/null +++ b/.github/workflows/build-exotic-distributions-packages-dispatch.yml @@ -0,0 +1,20 @@ +--- +name: Trigger build of packages on exotic distributions for a specific ref + +on: + workflow_dispatch: + inputs: + ref: + description: git ref to checkout + type: string + default: master + +permissions: # least privileges, see https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions + contents: read + +jobs: + build: + name: call the workflow to build packages + uses: PowerDNS/pdns/.github/workflows/builder.yml@master + with: + branch-name: ${{ github.event.inputs.ref }} diff --git a/.github/workflows/builder.yml b/.github/workflows/builder.yml index 8cd416ced..a967c1a66 100644 --- a/.github/workflows/builder.yml +++ b/.github/workflows/builder.yml @@ -28,7 +28,7 @@ jobs: build: name: build.sh - if: ${{ vars.SCHEDULED_JOBS_BUILDER }} + if: ${{ vars.SCHEDULED_JOBS_BUILDER || github.event_name != 'schedule' }} needs: prepare runs-on: ${{ matrix.runner-os }} strategy: