Skip to content

Commit 79e1c80

Browse files
committed
BLD: Cleanup GitHub release workflow
1 parent ee456b6 commit 79e1c80

File tree

2 files changed

+10
-12
lines changed

2 files changed

+10
-12
lines changed

.github/workflows/release.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,11 @@ jobs:
112112

113113
# Publish to PyPI
114114
- name: Publish to PyPI
115-
run: python twine upload -r databento -u ${{ secrets.PYPI_USERNAME }} - p ${{ secrets.PYPI_TOKEN }}
115+
id: publish-to-pypi
116+
env:
117+
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
118+
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
119+
run: twine upload dist/*
116120

117121
publish-wheels:
118122
needs: [ tag-release ]
@@ -169,4 +173,8 @@ jobs:
169173

170174
# Publish to PyPI
171175
- name: Publish to PyPI
172-
run: python twine upload -r databento -u ${{ secrets.PYPI_USERNAME }} - p ${{ secrets.PYPI_TOKEN }}
176+
id: publish-to-pypi
177+
env:
178+
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
179+
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
180+
run: twine upload dist/*

.github/workflows/test.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ name: test
55
on:
66
push:
77
branches: [ main, dev ]
8-
pull_request:
9-
branches: [ main, dev ]
108

119
jobs:
1210
test:
@@ -41,11 +39,3 @@ jobs:
4139
# Run tests
4240
- name: Run tests
4341
run: pytest tests .
44-
45-
# Upload coverage report to codecov
46-
# - name: Upload coverage report
47-
# uses: codecov/codecov-action@v1
48-
# with:
49-
# token: ${{ secrets.CODECOV_TOKEN }}
50-
# file: ./coverage.xml
51-
# verbose: true

0 commit comments

Comments
 (0)