Skip to content

Commit d3f1077

Browse files
authored
Merge pull request #136 from RHEcosystemAppEng/hotfix/fix-python-action-in-wf
ci: fix workflow error because of python action location
2 parents 00bfaae + 70a28a7 commit d3f1077

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

.github/workflows/stage.yml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -53,16 +53,6 @@ jobs:
5353
java-version: 17
5454
cache: maven
5555

56-
- name: setup Python
57-
uses: actions/setup-python@v4
58-
with:
59-
python-version: '3.9'
60-
cache: 'pip'
61-
- name: get Python location
62-
id: python-location
63-
run: |
64-
echo "python-bin-location=$(echo $pythonLocation)/bin" >> $GITHUB_OUTPUT
65-
6656
- name: setup go
6757
uses: actions/setup-go@v5
6858
with:
@@ -95,6 +85,17 @@ jobs:
9585
pr-ref: ${{ github.head_ref }}
9686
file-pattern-regex: "^src/.*|^test/.*"
9787

88+
- name: setup Python
89+
uses: actions/setup-python@v4
90+
with:
91+
python-version: '3.9'
92+
cache: 'pip'
93+
- name: get Python location
94+
id: python-location
95+
run: |
96+
echo "python-bin-location=$(echo $pythonLocation)/bin" >> $GITHUB_OUTPUT
97+
98+
9899
- name: re-test Unit-Tests + Integration Tests
99100
env:
100101
RETEST_IS_NECESSARY: ${{ steps.test-check.outputs.retest-is-needed}}

0 commit comments

Comments
 (0)