Try a different way of dissabling script #184
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: Publish Python π distributions π¦ to PyPI and TestPyPI | |
on: push | |
jobs: | |
raise-warning: | |
name: WARNING temporarily disabled | |
runs-on: ubuntu-latest | |
steps: | |
- name: raise warning | |
run: >- | |
python -c | |
"print('WARNING this pipline is temporarily disabled')" | |
# TODO This is a temporary measure for the in development work, we don't want to publish these versions to pypi | |
# build-n-publish: | |
# name: Build and publish Python π distributions π¦ to PyPI and TestPyPI | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/checkout@master | |
# - name: Set up Python 3.8 | |
# uses: actions/setup-python@v1 | |
# with: | |
# python-version: 3.8 | |
# - name: Install pypa/build | |
# run: >- | |
# python -m | |
# pip install | |
# build | |
# --user | |
# - name: Build a binary wheel and a source tarball | |
# run: >- | |
# python -m | |
# build | |
# --sdist | |
# --wheel | |
# --outdir dist/ | |
# . | |
# - name: Publish distribution π¦ to Test PyPI | |
# if: startsWith(github.ref, 'refs/tags') | |
# uses: pypa/gh-action-pypi-publish@master | |
# with: | |
# password: ${{ secrets.TEST_PYPI_API_TOKEN }} | |
# repository_url: https://test.pypi.org/legacy/ | |
# - name: Publish distribution π¦ to PyPI | |
# if: success() && startsWith(github.ref, 'refs/tags') | |
# uses: pypa/gh-action-pypi-publish@master | |
# with: | |
# password: ${{ secrets.PYPI_API_TOKEN }} |