suppressed wx.FRAME_TOOL_WINDOW due to the issues on virtualbox, wind… #4
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: testrelease_binary | |
on: | |
push: | |
#branches: [ action_test ] | |
tags: ["v_*"] | |
jobs: | |
make_sdist: | |
runs-on: ubuntu-latest | |
steps: | |
- name: build_sdist | |
run: | | |
echo This job does not specify a container. | |
echo It runs directly on the virtual machine. | |
# | |
git clone https://github.com/piScope/PetraM_Base.git | |
cd PetraM_Base | |
# | |
REF=$(echo ${GITHUB_REF#refs/heads/}) | |
echo "!!!!!: "$REF | |
git checkout $REF | |
# | |
export PATH=/opt/python/cp37-cp37m/bin:$PATH | |
pip3 install wheel six auditwheel twine build | |
rm -rf dist/* | |
python3 -m build --sdist --wheel --outdir dist/ . | |
ls -l | |
python3 -m twine upload --password ${{ secrets.PYPI_API_PETRAM_BASE_TOKEN }} --username __token__ --verbose dist/* |