File tree Expand file tree Collapse file tree 3 files changed +37
-77
lines changed Expand file tree Collapse file tree 3 files changed +37
-77
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : Publish django-formset
2+
3+ on :
4+ push :
5+ tags :
6+ - ' *'
7+
8+ jobs :
9+ publish :
10+ name : " Publish release"
11+ runs-on : " ubuntu-latest"
12+
13+ environment :
14+ name : deploy
15+
16+ strategy :
17+ matrix :
18+ python-version : ["3.9"]
19+
20+ steps :
21+ - uses : actions/checkout@v2
22+ - name : Set up Python ${{ matrix.python-version }}
23+ uses : actions/setup-python@v2
24+ with :
25+ python-version : ${{ matrix.python-version }}
26+ - name : Install dependencies
27+ run : |
28+ npm install --also=dev
29+ python -m pip install --upgrade pip
30+ python -m pip install build --user
31+ - name : Build 🐍 Python 📦 Package
32+ run : python -m build --sdist --wheel --outdir dist/
33+ - name : Publish 🐍 Python 📦 Package to PyPI
34+ if : startsWith(github.ref, 'refs/tags')
35+ uses : pypa/gh-action-pypi-publish@master
36+ with :
37+ password : ${{ secrets.PYPI_API_TOKEN_SORTABLE2 }}
You can’t perform that action at this time.
0 commit comments