Skip to content

Commit 522143e

Browse files
committed
other test
1 parent e1262ff commit 522143e

File tree

1 file changed

+9
-12
lines changed

1 file changed

+9
-12
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,14 @@ on:
55
types: [published]
66

77
jobs:
8-
publish-pypi:
8+
pypi-publish:
9+
name: Upload release to PyPI
910
runs-on: ubuntu-latest
11+
environment:
12+
name: pypi
13+
url: https://pypi.org/p/mongoengine_plus
14+
permissions:
15+
id-token: write
1016
steps:
11-
- uses: actions/checkout@master
12-
- name: Set up Python 3.8
13-
uses: actions/setup-python@v2.2.2
14-
with:
15-
python-version: 3.8
16-
- name: Install dependencies
17-
run: pip install -qU setuptools wheel twine
18-
- name: Generating distribution archives
19-
run: python setup.py sdist bdist_wheel
20-
- name: Publish package distributions to PyPI
21-
uses: pypa/gh-action-pypi-publish@release/v1
17+
- name: Publish package distributions to PyPI
18+
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)