From 70a28a73f3066602c94a1fe6ebf77b9c4d4e1fad Mon Sep 17 00:00:00 2001 From: Zvi Grinberg Date: Mon, 6 May 2024 13:46:16 +0300 Subject: [PATCH] ci: fix workflow error because of python action location Signed-off-by: Zvi Grinberg --- .github/workflows/stage.yml | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/stage.yml b/.github/workflows/stage.yml index c956f8b..de1f729 100644 --- a/.github/workflows/stage.yml +++ b/.github/workflows/stage.yml @@ -53,16 +53,6 @@ jobs: java-version: 17 cache: maven - - name: setup Python - uses: actions/setup-python@v4 - with: - python-version: '3.9' - cache: 'pip' - - name: get Python location - id: python-location - run: | - echo "python-bin-location=$(echo $pythonLocation)/bin" >> $GITHUB_OUTPUT - - name: setup go uses: actions/setup-go@v5 with: @@ -95,6 +85,17 @@ jobs: pr-ref: ${{ github.head_ref }} file-pattern-regex: "^src/.*|^test/.*" + - name: setup Python + uses: actions/setup-python@v4 + with: + python-version: '3.9' + cache: 'pip' + - name: get Python location + id: python-location + run: | + echo "python-bin-location=$(echo $pythonLocation)/bin" >> $GITHUB_OUTPUT + + - name: re-test Unit-Tests + Integration Tests env: RETEST_IS_NECESSARY: ${{ steps.test-check.outputs.retest-is-needed}}