File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed
Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Release
2+ on :
3+ push :
4+ branches :
5+ - " master"
6+ jobs :
7+ pre-release-django-prometheus-job :
8+ runs-on : ubuntu-latest
9+ name : pre-release django-prometheus
10+ permissions :
11+ id-token : write
12+ # environment:
13+ # name: pypi
14+ # url: https://test.pypi.org/p/django-prometheus/
15+ steps :
16+ - uses : actions/checkout@v3
17+ with :
18+ fetch-depth : 0
19+ - name : Set up Python 3.9
20+ uses : actions/setup-python@v4
21+ with :
22+ python-version : 3.9
23+ - name : Install dependencies
24+ run : |
25+ python -m pip install --upgrade pip
26+ pip install wheel setuptools packaging twine build --upgrade
27+ - name : Set version number
28+ run : python update_version_from_git.py
29+ - name : Build
30+ run : python -m build
31+ - name : Publish to TEST PyPI
32+ 33+ with :
34+ repository-url : https://test.pypi.org/legacy/
35+ skip-existing : true
36+ verbose : true
37+ print-hash : true
You can’t perform that action at this time.
0 commit comments