-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
44b52ac
commit 8db3fd0
Showing
1 changed file
with
7 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: | ||
|
@@ -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 |