-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Drop python 3.8 support and use trusted publisher release process (#22)
* drop python 3.8 support * update release notes * update release.yaml * use ft main for code cov * fix coverage
- Loading branch information
1 parent
99e42b7
commit a866f2f
Showing
5 changed files
with
26 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,24 @@ | ||
name: Release | ||
on: | ||
release: | ||
types: [published] | ||
|
||
name: Release | ||
jobs: | ||
pypi: | ||
pypi-publish: | ||
name: PyPI Release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Remove docs before release | ||
run: rm -rf docs/ | ||
- name: PyPI Upload | ||
uses: alteryx/gh-action-pypi-upload@v2 | ||
env: | ||
PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }} | ||
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }} | ||
TEST_PYPI_USERNAME: ${{ secrets.TEST_PYPI_USERNAME }} | ||
TEST_PYPI_PASSWORD: ${{ secrets.TEST_PYPI_PASSWORD }} | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-python@v5 | ||
- name: Install deps | ||
run: | | ||
python -m pip install --quiet --upgrade pip | ||
python -m pip install --quiet --upgrade build | ||
python -m pip install --quiet --upgrade setuptools | ||
- name: Remove build artifacts and docs | ||
run: | | ||
rm -rf .eggs/ dist/ build/ docs/ | ||
- name: Build distribution | ||
run: python -m build | ||
- name: Publish package distributions to PyPI | ||
uses: pypa/gh-action-pypi-publish@release/v1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters