Skip to content

Commit 9dd99e6

Browse files
committed
Update publish job
1 parent 8b9a97e commit 9dd99e6

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/pythonapp.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,8 @@ jobs:
2828
run: |
2929
pip install -r requirements.txt
3030
pytest
31-
- name: Install dependencies
32-
run: |
33-
python -m pip install --upgrade pip
34-
pip install build
31+
32+
3533
publish:
3634
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
3735
needs: test
@@ -44,6 +42,10 @@ jobs:
4442
uses: actions/setup-python@v2
4543
with:
4644
python-version: '3.x'
45+
- name: Install dependencies
46+
run: |
47+
python -m pip install --upgrade pip
48+
pip install build
4749
- name: Build package for publishing
4850
run: python -m build
4951
- name: Publish package

0 commit comments

Comments
 (0)