Try to display event name
This commit is contained in:
parent
6a706700ce
commit
a67c9e45ce
1 changed files with 19 additions and 16 deletions
35
.github/workflows/pythonpackage.yml
vendored
35
.github/workflows/pythonpackage.yml
vendored
|
@ -35,20 +35,23 @@ 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:
|
||||||
- uses: actions/checkout@v1
|
- run: |
|
||||||
- name: Set up Python
|
echo "event name"
|
||||||
uses: actions/setup-python@v1
|
echo ${{ github.event_name }}
|
||||||
with:
|
# - uses: actions/checkout@v1
|
||||||
python-version: '3.8'
|
# - name: Set up Python
|
||||||
- name: Install dependencies
|
# uses: actions/setup-python@v1
|
||||||
run: |
|
# with:
|
||||||
python -m pip install --upgrade pip
|
# python-version: '3.8'
|
||||||
pip install poetry
|
# - name: Install dependencies
|
||||||
- name: Build and publish
|
# run: |
|
||||||
env:
|
# python -m pip install --upgrade pip
|
||||||
PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }}
|
# pip install poetry
|
||||||
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
|
# - name: Build and publish
|
||||||
run: |
|
# env:
|
||||||
poetry publish --build -u $PYPI_USERNAME -p $PYPI_PASSWORD
|
# PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }}
|
||||||
|
# PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
|
||||||
|
# run: |
|
||||||
|
# poetry publish --build -u $PYPI_USERNAME -p $PYPI_PASSWORD
|
||||||
|
|
Loading…
Reference in a new issue