File tree Expand file tree Collapse file tree 3 files changed +18
-24
lines changed Expand file tree Collapse file tree 3 files changed +18
-24
lines changed Original file line number Diff line number Diff line change 77 pypi :
88 name : PyPI Release
99 runs-on : ubuntu-latest
10+ permissions :
11+ id-token : write
1012 steps :
11- - uses : actions/checkout@v3
12- - name : Remove docs before release
13- run : rm -rf docs/
14- - name : PyPI Upload
15- uses : FeatureLabs/gh-action-pypi-upload@v2
16- env :
17- PYPI_USERNAME : ${{ secrets.PYPI_USERNAME }}
18- PYPI_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
19- TEST_PYPI_USERNAME : ${{ secrets.TEST_PYPI_USERNAME }}
20- TEST_PYPI_PASSWORD : ${{ secrets.TEST_PYPI_PASSWORD }}
21- TAG_NAME : ${{ github.event.release.tag_name }}
13+ - uses : actions/checkout@v4
14+ - uses : actions/setup-python@v5
15+ - name : Install deps
16+ run : |
17+ python -m pip install --quiet --upgrade pip
18+ python -m pip install --quiet --upgrade build
19+ python -m pip install --quiet --upgrade setuptools
20+ - name : Remove build artifacts and docs
21+ run : |
22+ rm -rf .eggs/ dist/ build/ docs/
23+ - name : Build distribution
24+ run : python -m build
25+ - name : Publish package distributions to PyPI
26+ uses : pypa/gh-action-pypi-publish@release/v1
Original file line number Diff line number Diff line change 11Release Notes
22-------------
33**Future Releases **
4- * Enhancements
5- * Fixes
6- * Changes
7- * Documentation Changes
8- * Testing Changes
9-
10- .. warning ::
11-
12- **Breaking Changes **
13-
14-
15- **v0.84.0 Jun 5, 2024 **
164 * Enhancements
175 * Reformatted files with updated black version :pr: `4395 `
186 * Fixes
7+ * Fixed token issues related to pypi release github action failing :pr: `4446 `
198 * Changes
209 * Dropped support for Python 3.8 :pr: `4414 `
2110 * Removed vowpalwabbit :pr: `4427 `
Original file line number Diff line number Diff line change 2424warnings .filterwarnings ("ignore" , category = FutureWarning )
2525warnings .filterwarnings ("ignore" , category = DeprecationWarning )
2626
27- __version__ = "0.84 .0"
27+ __version__ = "0.83 .0"
You can’t perform that action at this time.
0 commit comments