From 9aa40f8cfacca56fe6188c1794619141aa7d3f96 Mon Sep 17 00:00:00 2001 From: romeroalx Date: Wed, 22 Nov 2023 14:07:38 +0100 Subject: [PATCH] make builder workflow reusable --- .github/workflows/builder.yml | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- 2.47.2