Skip to content

Commit 32cbfbb

Browse files
committed
Debugging
1 parent c03447f commit 32cbfbb

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/ci_check_for_build.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,20 @@ jobs:
1717
runs-on: ubuntu-24.04
1818
steps:
1919
- uses: actions/checkout@v4
20+
with:
21+
fetch-depth: 0
2022
- name: Setup Python & Poetry Environment
21-
uses: exasol/python-toolbox/.github/actions/python-environment@0.12.0
23+
uses: exasol/python-toolbox/.github/actions/python-environment@1.0.1
2224
with:
2325
python-version: "3.10"
2426
poetry-version: "2.1.2"
2527
- name: Run check
2628
id: run-check
2729
run: |
28-
echo branch name is ${{github.ref_name}}
29-
result = `poetry run -- nox -s ci:check-if-build-need -- --flavor ${{ inputs.flavor }} --branch-name ${{github.ref_name}}`
30+
echo ref_name name is ${{github.ref_name}}
31+
echo head_ref is ${{github.head_ref}}
32+
branch_name="${{github.head_ref || github.ref_name}}"
33+
result = $(poetry run -- nox -s ci:check-if-build-need -- --flavor ${{ inputs.flavor }} --branch-name "$branch_name")
3034
echo "continue=$result" >> $GITHUB_OUTPUT
3135
3236
outputs:

0 commit comments

Comments
 (0)