File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Publish Python 🐍 distributions 📦 to PyPI
2+ on :
3+ push :
4+ tags :
5+ - " *"
6+ jobs :
7+ build-n-publish :
8+ runs-on : ubuntu-latest
9+ name : Build and publish Python 🐍 distributions 📦 to PyPI
10+ environment :
11+ name : pypi
12+ url : https://pypi.org/p/pygments-shell-console
13+ permissions :
14+ id-token : write # IMPORTANT: this permission is mandatory for trusted publishing
15+ steps :
16+ - name : Set up Python 3.8
17+ uses : actions/checkout@master
18+ - name : Set up Python 3.8
19+ uses : actions/setup-python@v1
20+ with :
21+ python-version : 3.8
22+ - name : Install pypa/build
23+ run : >-
24+ python -m
25+ pip install
26+ build
27+ --user
28+ - name : Build a binary wheel and a source tarball
29+ run : >-
30+ python -m
31+ build
32+ --sdist
33+ --wheel
34+ --outdir dist/
35+ - name : Publish package distributions to PyPI
36+ uses : pypa/gh-action-pypi-publish@release/v1
You can’t perform that action at this time.
0 commit comments