Skip to content

Commit 3addd32

Browse files
committed
update artifact download version and comment out pypi upload for testing
1 parent 2443c9e commit 3addd32

1 file changed

Lines changed: 23 additions & 23 deletions

File tree

.github/workflows/publish-to-pypi.yml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -44,38 +44,38 @@ jobs:
4444

4545
steps:
4646
- name: Download all the dists
47-
uses: actions/download-artifact@v4
47+
uses: actions/download-artifact@v5
4848
with:
4949
name: python-package-distributions
5050
path: dist/
5151
- name: Publish distribution to TestPyPI
5252
uses: pypa/gh-action-pypi-publish@release/v1
5353
with:
5454
repository-url: https://test.pypi.org/legacy/
55-
56-
publish-to-pypi:
57-
name: >-
58-
Publish Python distribution to PyPI
59-
if: startsWith(github.ref, 'refs/tags') # only publish on tag pushes
55+
56+
# publish-to-pypi:
57+
# name: >-
58+
# Publish Python distribution to PyPI
59+
# if: startsWith(github.ref, 'refs/tags') # only publish on tag pushes
6060

61-
needs:
62-
- build
63-
- publish-to-testpypi
61+
# needs:
62+
# - build
63+
# - publish-to-testpypi
6464

65-
runs-on: ubuntu-latest
65+
# runs-on: ubuntu-latest
6666

67-
environment:
68-
name: release
69-
url: https://pypi.org/p/ncempy
67+
# environment:
68+
# name: release
69+
# url: https://pypi.org/p/ncempy
7070

71-
permissions:
72-
id-token: write
71+
# permissions:
72+
# id-token: write
7373

74-
steps:
75-
- name: Download all the dists
76-
uses: actions/download-artifact@v4
77-
with:
78-
name: python-package-distributions
79-
path: dist/
80-
- name: Publish distributions to PyPI
81-
uses: pypa/gh-action-pypi-publish@release/v1
74+
# steps:
75+
# - name: Download all the dists
76+
# uses: actions/download-artifact@v5
77+
# with:
78+
# name: python-package-distributions
79+
# path: dist/
80+
# - name: Publish distributions to PyPI
81+
# uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)