Skip to content

Commit a8c2c75

Browse files
committed
Check
1 parent 0a26ccd commit a8c2c75

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/publish.yml

+10-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: Publish to PyPI [Production]
22
on:
3+
push:
4+
workflow_dispatch:
35
release:
46
types: [published]
57
jobs:
@@ -54,11 +56,14 @@ jobs:
5456
# Tell poetry to use the `current-version` that was found by the previous step
5557
#-----------------------------------------------------------------------------
5658
- name: Update pyproject.toml
57-
run: poetry version ${{ steps.version.outputs.current-version }}
59+
run: |
60+
echo "Current version - ${{ steps.version.outputs.current-version }}"
61+
poetry version ${{ steps.version.outputs.current-version }}
62+
echo "Updated version - $(poetry version -s)"
5863
#----------------------------------------------
5964
# Attempt push to test-pypi
6065
#----------------------------------------------
61-
- name: Build and publish to pypi
62-
uses: JRubics/[email protected]
63-
with:
64-
pypi_token: ${{ secrets.PROD_PYPI_TOKEN }}
66+
# - name: Build and publish to pypi
67+
# uses: JRubics/[email protected]
68+
# with:
69+
# pypi_token: ${{ secrets.PROD_PYPI_TOKEN }}

0 commit comments

Comments
 (0)