Skip to content

Commit

Permalink
ci: fix workflow error because of python action location
Browse files Browse the repository at this point in the history
Signed-off-by: Zvi Grinberg <[email protected]>
  • Loading branch information
zvigrinberg committed May 6, 2024
1 parent d02226b commit 70a28a7
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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}}
Expand Down

0 comments on commit 70a28a7

Please sign in to comment.