File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Continuous Deployment
22on : [push]
33jobs :
4- Minikube :
4+ build-n-publish-docker :
55 runs-on : ubuntu-latest
66 services :
77 docker :
5050 bash .travis.sh script
5151 $HOME/bin/travis_ci_operator.sh docker-login
5252 bash .travis.sh deploy
53+ build-n-publish-pypy :
54+ if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
55+ name : Build and publish CCO to PyPI
56+ runs-on : ubuntu-18.04
57+ steps :
58+ - uses : actions/checkout@master
59+ - name : Set up Python 3.7
60+ uses : actions/setup-python@v1
61+ with :
62+ python-version : 3.7
63+ - name : Install pypa/build
64+ run : >-
65+ python -m
66+ pip install
67+ build
68+ --user
69+ - name : Build a binary wheel and a source tarball
70+ run : >-
71+ python -m
72+ build
73+ --sdist
74+ --wheel
75+ --outdir dist/
76+ .
77+ - name : Publish CCO to PyPI
78+ if : startsWith(github.ref, 'refs/tags')
79+ uses : pypa/gh-action-pypi-publish@master
80+ with :
81+ password : ${{ secrets.PYPI_API_TOKEN }}
You can’t perform that action at this time.
0 commit comments