Skip to content

Commit b37fdd2

Browse files
authored
Add the python and deps setup steps to the final release job. (ansible#678)
Signed-off-by: James Tanner <[email protected]>
1 parent 5a8bc6f commit b37fdd2

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/release.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,17 @@ jobs:
9797
name: python-package-distributions
9898
path: dist/
9999

100+
- name: Get python version from Makefile
101+
run: echo py_version=`make PYTHON_VERSION` >> $GITHUB_ENV
102+
103+
- name: Install python ${{ env.py_version }}
104+
uses: actions/setup-python@v5
105+
with:
106+
python-version: ${{ env.py_version }}
107+
108+
- name: Install python deps
109+
run: pip install -r requirements/requirements_dev.txt
110+
100111
- name: Create a GitHub Release uploading the dists
101112
run: >-
102113
ansible-playbook

0 commit comments

Comments
 (0)