ci: parameterise cross-package build job with branch name

This commit is contained in:
Zaiming Shi 2021-11-22 00:08:30 +01:00
parent 9496c76fe8
commit 80aab3ae3f
1 changed files with 4 additions and 0 deletions

View File

@ -11,6 +11,9 @@ on:
types:
- published
workflow_dispatch:
inputs:
which_branch:
required: false
jobs:
prepare:
@ -24,6 +27,7 @@ jobs:
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.event.inputs.which_branch }}
path: source
fetch-depth: 0
- name: find old versions