parent
a67c9e45ce
commit
c69a2d5b52
1 changed files with 16 additions and 19 deletions
35
.github/workflows/pythonpackage.yml
vendored
35
.github/workflows/pythonpackage.yml
vendored
|
@ -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
|
|
||||||
|
|
Loading…
Reference in a new issue