Skip to content

Commit

Permalink
Manually setting the publish step
Browse files Browse the repository at this point in the history
  • Loading branch information
jprakash-db committed Oct 8, 2024
1 parent 44b52ac commit 8db3fd0
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/publish-manual.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish to PyPI [Production]
name: Publish to PyPI Manual [Production]

# Allow manual triggering of the workflow
on:
Expand Down Expand Up @@ -67,16 +67,15 @@ jobs:
#----------------------------------------------
- name: Build and publish databricks sql connector to PyPI
working-directory: ./databricks_sql_connector
uses: JRubics/[email protected] # Use the poetry-publish action to handle publishing
with:
pypi_token: ${{ secrets.PROD_PYPI_TOKEN }} # The PyPI token for authentication, stored in GitHub Secrets

run: |
poetry build
poetry publish -u __token__ -p ${{ secrets.PROD_PYPI_TOKEN }} # Publish with PyPI token
#----------------------------------------------
# Step 7: Build and publish the second package to PyPI
#----------------------------------------------

- name: Build and publish databricks sql connector core to PyPI
working-directory: ./databricks_sql_connector_core
uses: JRubics/[email protected] # Use the poetry-publish action to handle publishing
with:
pypi_token: ${{ secrets.PROD_PYPI_TOKEN }} # The PyPI token for authentication, stored in GitHub Secrets
run: |
poetry build
poetry publish -u __token__ -p ${{ secrets.PROD_PYPI_TOKEN }} # Publish with PyPI token

0 comments on commit 8db3fd0

Please sign in to comment.