Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commited05311

Browse files
committed
Python publish workflow process fix
1 parent2e6ec6d commited05311

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

‎.github/workflows/python-publish.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,23 @@ on:
1212
jobs:
1313
publish:
1414
runs-on:ubuntu-latest
15+
permissions:
16+
id-token:write
1517
steps:
16-
-uses:actions/checkout@v2
18+
-uses:actions/checkout@v4
1719

1820
-name:Set up Python
19-
uses:actions/setup-python@v2
21+
uses:actions/setup-python@v5
2022
with:
2123
python-version:'3.x'
2224

2325
-name:Set up poetry
24-
uses:Gr1N/setup-poetry@v8
26+
uses:Gr1N/setup-poetry@v9
2527

2628
-name:Build
2729
run:poetry build
2830

2931
-name:Publish
30-
env:
31-
POETRY_HTTP_BASIC_PYPI_USERNAME:${{ secrets.PYPI_USERNAME }}
32-
POETRY_HTTP_BASIC_PYPI_PASSWORD:${{ secrets.PYPI_PASSWORD }}
33-
run:poetry publish
32+
uses:pypa/gh-action-pypi-publish@release/v1
33+
with:
34+
packages-dir:dist/

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp