Skip to content

Commit c3d520d

Browse files
authored
Update release action
1 parent c0e1645 commit c3d520d

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,11 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- uses: actions/checkout@v3
11-
- name: Set up Python ${{ matrix.python-version }}
12-
uses: actions/setup-python@v3
13-
with:
14-
python-version: ${{ matrix.python-version }}
15-
- name: Install gettext
16-
run: sudo apt-get install gettext -y
17-
- name: Install dependencies
18-
run: python -m pip install --upgrade pip setuptools wheel twine
19-
- name: Build dist packages
20-
run: python setup.py sdist bdist_wheel
21-
- name: Upload packages
22-
run: python -m twine upload dist/*
11+
- uses: actions/setup-python@v3
12+
- run: sudo apt-get install gettext -y
13+
- run: python -m pip install --upgrade pip build wheel twine
14+
- run: python -m build --sdist --wheel
15+
- run: python -m twine upload dist/*
2316
env:
2417
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
2518
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}

0 commit comments

Comments
 (0)