Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
--- /dev/null
+---
+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 }}
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: