check which branch is used
This commit is contained in:
@@ -38,6 +38,10 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
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
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user