File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Publish Python extract sdk distribution to PyPI
2
+
3
+ on : push
4
+
5
+ jobs :
6
+ build-n-publish :
7
+ name : Build and publish Python distributions to PyPI
8
+ runs-on : ubuntu-18.04
9
+ steps :
10
+ - uses : actions/checkout@master
11
+
12
+ - name : Set up Python
13
+ uses : actions/setup-python@v2
14
+ with :
15
+ python-version : 3.8
16
+
17
+ - name : Install dependencies
18
+ run : |
19
+ python -m pip install --upgrade pip
20
+ pip install setuptools wheel twine
21
+ pip install -r requirements.txt
22
+
23
+ - name : Build a binary wheel and a source tarball
24
+ run : |
25
+ pip install wheel
26
+ python setup.py sdist bdist_wheel
27
+
28
+ - name : Publish distribution to PyPI
29
+ if : startsWith(github.ref, 'refs/tags')
30
+ uses : pypa/gh-action-pypi-publish@master
31
+ with :
32
+ password : ${{ secrets.ADOBE_BOT_PYPI_TOKEN}}
You can’t perform that action at this time.
0 commit comments