From: romeroalx Date: Wed, 22 Nov 2023 13:07:38 +0000 (+0100) Subject: make builder workflow reusable X-Git-Tag: rec-4.9.3~6^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9aa40f8cfacca56fe6188c1794619141aa7d3f96;p=thirdparty%2Fpdns.git make builder workflow reusable --- diff --git a/.github/workflows/builder.yml b/.github/workflows/builder.yml index 9a13ad48ae..94f36c575d 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 * * *' @@ -32,6 +39,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