Skip to content

Commit 6f8a39d

Browse files
authored
ci: run poetry publish without using a separate action (#397)
1 parent cfae89c commit 6f8a39d

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

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

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -243,11 +243,10 @@ jobs:
243243
gpg_private_key: ${{ secrets.SA_GPG_PRIVATE_KEY }}
244244
passphrase: ${{ secrets.SA_GPG_PASSPHRASE }}
245245
extra_plugins: |
246-
@google/semantic-release-replace-plugin
246+
semantic-release-replace-plugin
247247
env:
248248
GITHUB_TOKEN: ${{ secrets.GH_TOKEN_ADMIN }}
249249
- if: ${{ steps.semantic.outputs.new_release_published == 'true' }}
250-
uses: splunk/[email protected]
251-
with:
252-
pypi_username: ${{ secrets.PYPI_USERNAME }}
253-
pypi_token: ${{ secrets.PYPI_TOKEN }}
250+
run: |
251+
poetry build
252+
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)