check which branch is used
This commit is contained in:
@@ -38,6 +38,10 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.event.inputs.branch_name || github.event.workflow_run.head_branch }}
|
ref: ${{ github.event.inputs.branch_name || github.event.workflow_run.head_branch }}
|
||||||
|
- name: Display Branch Name
|
||||||
|
run: |
|
||||||
|
echo "Building branch: ${{ github.event.inputs.branch_name || github.event.workflow_run.head_branch }}"
|
||||||
|
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user