Revert "Try to display event name"

This reverts commit a67c9e45ce.
This commit is contained in:
Gabriel Augendre 2019-12-28 01:32:07 +01:00
parent a67c9e45ce
commit c69a2d5b52
No known key found for this signature in database
GPG key ID: 1E693F4CE4AEE7B4

View file

@ -35,23 +35,20 @@ jobs:
name: Publish to PyPI name: Publish to PyPI
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: build needs: build
# if: github.event_name == 'release' if: github.event_name == 'release'
steps: steps:
- run: | - uses: actions/checkout@v1
echo "event name" - name: Set up Python
echo ${{ github.event_name }} uses: actions/setup-python@v1
# - uses: actions/checkout@v1 with:
# - name: Set up Python python-version: '3.8'
# uses: actions/setup-python@v1 - name: Install dependencies
# with: run: |
# python-version: '3.8' python -m pip install --upgrade pip
# - name: Install dependencies pip install poetry
# run: | - name: Build and publish
# python -m pip install --upgrade pip env:
# pip install poetry PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }}
# - name: Build and publish PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
# env: run: |
# PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }} poetry publish --build -u $PYPI_USERNAME -p $PYPI_PASSWORD
# PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
# run: |
# poetry publish --build -u $PYPI_USERNAME -p $PYPI_PASSWORD