Skip to content

Commit 1c50d59

Browse files
authored
fix: Fixed failing publish process (#30)
1 parent d1fde09 commit 1c50d59

File tree

3 files changed

+7
-24
lines changed

3 files changed

+7
-24
lines changed

.github/actions/publish/action.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

.github/workflows/manual-publish.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ jobs:
3232

3333
- uses: ./.github/actions/build
3434

35-
- uses: ./.github/actions/publish
35+
- name: Publish package distributions to PyPI
36+
if: ${{ inputs.dry_run == 'false' }}
37+
uses: pypa/gh-action-pypi-publish@release/v1
3638
with:
37-
token: ${{env.PYPI_AUTH_TOKEN}}
38-
dry_run: ${{ inputs.dry_run }}
39+
password: ${{env.PYPI_AUTH_TOKEN}}

.github/workflows/release-please.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ jobs:
4242
- uses: ./.github/actions/build-docs
4343
if: ${{ steps.release.outputs.releases_created == 'true' }}
4444

45-
- uses: ./.github/actions/publish
45+
- name: Publish package distributions to PyPI
4646
if: ${{ steps.release.outputs.releases_created == 'true' }}
47+
uses: pypa/gh-action-pypi-publish@release/v1
4748
with:
48-
token: ${{env.PYPI_AUTH_TOKEN}}
49-
dry_run: false
49+
password: ${{env.PYPI_AUTH_TOKEN}}

0 commit comments

Comments
 (0)