From: romeroalx Date: Wed, 22 Nov 2023 13:07:38 +0000 (+0100) Subject: make builder workflow reusable X-Git-Tag: auth-4.9.0-alpha1~20^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7b7783ae4bee93cd3865d68f567bf6b4a39001ea;p=thirdparty%2Fpdns.git make builder workflow reusable --- diff --git a/.github/workflows/builder.yml b/.github/workflows/builder.yml index b91d238843..dc282cdde9 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