pin docker image #50
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PIP packages | |
on: | |
push: | |
branches: [pybuild] | |
env: | |
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} | |
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} | |
jobs: | |
linux: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Docker Image | |
run: docker build SDK -t pypi | |
- name: Build | |
run: | | |
docker run -e PYVER=cp38-cp38 -e SKBUILD_BUILD_OPTIONS=-j2 --rm -v `pwd`:/workspace pypi | |
f=`ls *.whl` | |
mv $f ${f/linux/manylinux2014} | |
pip3 install twine | |
python -m twine upload --repository pypi *.whl |