Skip to content

Commit b903d57

Browse files
authored
ci: run poetry publish without using a separate action (#798)
1 parent 520dec0 commit b903d57

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

.github/workflows/build-test-release.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -233,12 +233,10 @@ jobs:
233233
gpg_private_key: ${{ secrets.SA_GPG_PRIVATE_KEY }}
234234
passphrase: ${{ secrets.SA_GPG_PASSPHRASE }}
235235
extra_plugins: |
236-
@google/semantic-release-replace-plugin
236+
semantic-release-replace-plugin
237237
env:
238238
GITHUB_TOKEN: ${{ secrets.GH_TOKEN_ADMIN }}
239239
- if: ${{ steps.semantic.outputs.new_release_published == 'true' }}
240-
uses: splunk/pypi-publish-action@v1.0
241-
with:
242-
pypi_username: ${{ secrets.PYPI_USERNAME }}
243-
pypi_token: ${{ secrets.PYPI_TOKEN }}
244-
240+
run: |
241+
poetry build
242+
poetry publish -n -u ${{ secrets.PYPI_USERNAME }} -p ${{ secrets.PYPI_TOKEN }}

.releaserc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
[
2525
"@semantic-release/commit-analyzer",
2626
[
27-
"@google/semantic-release-replace-plugin",
27+
"semantic-release-replace-plugin",
2828
{
2929
"replacements": [
3030
{

0 commit comments

Comments
 (0)