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

Commit6d82be0

Browse files
committed
Don't upload to TestPyPI
1 parent5c5e94d commit6d82be0

File tree

1 file changed

+1
-24
lines changed

1 file changed

+1
-24
lines changed

‎.github/workflows/pypi-package.yml

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@ name: Build & maybe upload PyPI package
22

33
on:
44
push:
5-
branches:[main]
5+
branches:
66
tags:["*"]
77
pull_request:
8-
branches:[main]
98
release:
109
types:
1110
-published
@@ -25,28 +24,6 @@ jobs:
2524

2625
-uses:hynek/build-and-inspect-python-package@v1
2726

28-
# Upload to Test PyPI on every commit on main.
29-
release-test-pypi:
30-
name:Publish in-dev package to test.pypi.org
31-
if:github.repository_owner == 'python' && github.event_name == 'push' && github.ref == 'refs/heads/main'
32-
runs-on:ubuntu-latest
33-
needs:build-package
34-
35-
permissions:
36-
id-token:write
37-
38-
steps:
39-
-name:Download packages built by build-and-inspect-python-package
40-
uses:actions/download-artifact@v3
41-
with:
42-
name:Packages
43-
path:dist
44-
45-
-name:Upload package to Test PyPI
46-
uses:pypa/gh-action-pypi-publish@release/v1
47-
with:
48-
repository-url:https://test.pypi.org/legacy/
49-
5027
# Upload to real PyPI on GitHub Releases.
5128
release-pypi:
5229
name:Publish to PyPI

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp