Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
habedi committed Jun 30, 2024
1 parent 92b5c05 commit cc506c4
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/publish_to_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@ name: Publish to PyPI

on:
workflow_dispatch: # Enable manual runs
workflow_run:
workflows: [ "Tests" ]

jobs:
publish_to_pypi:
runs-on: ubuntu-latest
needs: run_tests # Depend on the 'run_tests' job in the 'Tests' workflow

steps:
- name: Checkout Repository
Expand Down Expand Up @@ -37,11 +38,3 @@ jobs:
run: |
poetry config pypi-token.pypi ${{ secrets.PYPI_API_TOKEN }}
poetry publish
# A dummy job that has no dependencies (GitHub Actions needs each workflow to have at least one job with dependencies)
optional_job:
runs-on: ubuntu-latest

steps:
- name: Dummy job
run: echo "This is a dummy job with no dependencies"

0 comments on commit cc506c4

Please sign in to comment.