Skip to content

Commit

Permalink
Fix typo in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Zymrael committed Mar 1, 2023
1 parent da4b40f commit 47d60c3
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,22 @@ on:

jobs:
if: github.actor == Zymrael
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: 3.8
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: 3.8

- name: Build
run: |
curl -sSL https://install.python-poetry.org | python3 -
poetry lock
poetry build
- name: Build
run: |
curl -sSL https://install.python-poetry.org | python3 -
poetry lock
poetry build
- name: Publish distribution 📦 to PyPI
if: startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release'
run: |
poetry config pypi-token.pypi ${{ secrets.pypi_token }}
poetry publish
- name: Publish distribution 📦 to PyPI
if: startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release'
run: |
poetry config pypi-token.pypi ${{ secrets.pypi_token }}
poetry publish

0 comments on commit 47d60c3

Please sign in to comment.