Skip to content

Commit

Permalink
Revert "[FIX-3] Fix whl publish and access through secrets var (#6)" (#7
Browse files Browse the repository at this point in the history
)

This reverts commit bcf504b.
  • Loading branch information
aaletov authored Jun 10, 2024
1 parent bcf504b commit 4542c1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:

publish-wheel:
runs-on: ubuntu-latest
if: ${{github.event_name == 'push'}}
if: github.event.action == 'create'
needs:
- linters
- pytest
Expand All @@ -87,5 +87,5 @@ jobs:
$POETRY_HOME/bin/poetry --version
- name: Build and publish
run: |
$POETRY_HOME/bin/poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }}
$POETRY_HOME/bin/poetry config pypi-token.pypi ${{ env.PYPI_TOKEN }}
$POETRY_HOME/bin/poetry publish --build

0 comments on commit 4542c1d

Please sign in to comment.