From: romeroalx Date: Wed, 22 Nov 2023 13:07:38 +0000 (+0100) Subject: make builder workflow reusable X-Git-Tag: dnsdist-1.8.3~9^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23a06d6ddd034650ee8a05d256620a67237dde76;p=thirdparty%2Fpdns.git make builder workflow reusable --- diff --git a/.github/workflows/builder.yml b/.github/workflows/builder.yml index 6da242107f..8f1ab1cebb 100644 --- a/.github/workflows/builder.yml +++ b/.github/workflows/builder.yml @@ -2,6 +2,13 @@ name: 'Test package building for specific distributions' on: + workflow_call: + inputs: + branch-name: + description: 'Checkout to a specific branch' + required: true + default: '' + type: string schedule: - cron: '0 1 * * *' @@ -33,6 +40,7 @@ jobs: with: fetch-depth: 0 # for correct version numbers submodules: recursive + ref: ${{ inputs.branch-name }} # this builds packages and runs our unit test (make check) - run: builder/build.sh -v -m ${{ matrix.product }} ${{ matrix.os }} - name: Get version number