Skip to content

Commit 08d291b

Browse files
ci: normalize PyPI publish labels
1 parent 4a70e6b commit 08d291b

2 files changed

Lines changed: 13 additions & 13 deletions

File tree

.github/workflows/publish.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Publish to PyPi
1+
name: Publish to PyPI
22

33
on:
44
push:
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
build-release:
11-
name: Build the release
11+
name: Build the PyPI release
1212
runs-on: ubuntu-latest
1313
if: github.event_name == 'release' && github.repository == 'sequence-toolbox/SeQUeNCe'
1414
steps:
@@ -21,14 +21,14 @@ jobs:
2121
enable-cache: true
2222
- name: Build wheel and tarball
2323
run: uv build
24-
- name: Store dist as an artifact
24+
- name: Store PyPI dist as an artifact
2525
uses: actions/upload-artifact@v7
2626
with:
2727
name: python-release-package-dist
2828
path: dist/
2929

3030
build-test-release:
31-
name: Build the test release
31+
name: Build the TestPyPI release
3232
runs-on: ubuntu-latest
3333
if: github.event_name == 'push' && github.repository == 'sequence-toolbox/SeQUeNCe'
3434
steps:
@@ -42,16 +42,16 @@ jobs:
4242
- name: Modify package name for TestPyPI
4343
run: |
4444
sed -i 's/^name = "sequence"/name = "ssequence"/' pyproject.toml
45-
- name: Build wheel and tarball for test
45+
- name: Build TestPyPI wheel and tarball
4646
run: uv build
47-
- name: Store test dist as an artifact
47+
- name: Store TestPyPI dist as an artifact
4848
uses: actions/upload-artifact@v7
4949
with:
5050
name: python-test-package-dist
5151
path: dist/
5252

5353
publish-to-pypi:
54-
name: Publish dist to PyPi
54+
name: Publish dist to PyPI
5555
if: github.event_name == 'release' && github.event.action == 'published' && github.repository == 'sequence-toolbox/SeQUeNCe'
5656
needs:
5757
- build-release
@@ -63,18 +63,18 @@ jobs:
6363
id-token: write
6464

6565
steps:
66-
- name: Download all the dists
66+
- name: Download PyPI dist
6767
uses: actions/download-artifact@v8
6868
with:
6969
name: python-release-package-dist
7070
path: dist/
71-
- name: Publish dist to TestPyPI
71+
- name: Publish dist to PyPI
7272
uses: pypa/gh-action-pypi-publish@v1.14.0
7373
with:
7474
attestations: true
7575

7676
publish-to-test-pypi:
77-
name: Publish dist to TestPyPi
77+
name: Publish dist to TestPyPI
7878
if: github.event_name == 'push' && github.repository == 'sequence-toolbox/SeQUeNCe'
7979
needs:
8080
- build-test-release
@@ -87,7 +87,7 @@ jobs:
8787
id-token: write
8888

8989
steps:
90-
- name: Download all the test dists
90+
- name: Download TestPyPI dist
9191
uses: actions/download-artifact@v8
9292
with:
9393
name: python-test-package-dist
@@ -97,4 +97,4 @@ jobs:
9797
with:
9898
attestations: true
9999
repository-url: https://test.pypi.org/legacy/
100-
skip-existing: true
100+
skip-existing: true

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
<div align="center">
1313

14-
[![PyPi](https://img.shields.io/pypi/v/sequence)](https://pypi.org/project/sequence/)
14+
[![PyPI](https://img.shields.io/pypi/v/sequence)](https://pypi.org/project/sequence/)
1515
![pyversions](https://img.shields.io/pypi/pyversions/sequence)
1616
[![CI Pipeline](https://github.com/sequence-toolbox/SeQUeNCe/actions/workflows/ci.yml/badge.svg)](https://github.com/sequence-toolbox/SeQUeNCe/actions/workflows/ci.yml)
1717
[![Documentation](https://img.shields.io/readthedocs/sequence-rtd-tutorial)](https://sequence-rtd-tutorial.readthedocs.io/)

0 commit comments

Comments
 (0)