Skip to content

Commit

Permalink
Separate upload environments
Browse files Browse the repository at this point in the history
  • Loading branch information
jmarshall committed Oct 2, 2023
1 parent 586a86f commit c36e3c5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ jobs:
strategy:
matrix:
os: [ubuntu]
build: ["cp36-* cp37-*", "cp38-* cp39-*", "cp310-* cp311-*", "cp312-*"]
#build: ["cp36-* cp37-*", "cp38-* cp39-*", "cp310-* cp311-*", "cp312-*"]
build: ["cp311-*"]
x64image: [manylinux_2_28]

include:
Expand Down Expand Up @@ -95,13 +96,13 @@ jobs:
upload_pypi:
needs: [build_wheels, build_sdist]
runs-on: ubuntu-latest
environment: pypi
environment: ${{ github.event_name == 'release' && 'pypi' || 'testpypi' }}

permissions:
id-token: write

steps:
- name: Get Artifacts
- name: Get artifacts
uses: actions/download-artifact@v3
with:
name: artifact
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ dynamic = [
]

[project.urls]
"Documentation" = "https://pysam.readthedocs.io/en/stable/"
"Release notes" = "https://pysam.readthedocs.io/en/stable/release.html"
"Documentation" = "https://pysam.readthedocs.io"

[build-system]
requires = ["setuptools>=59.0", "Cython>=0.29.12,<4"]
Expand Down
2 changes: 1 addition & 1 deletion pysam/version.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# pysam versioning information
__version__ = "0.22.0rc3"
__version__ = "0.22.0rc5"

__samtools_version__ = "1.18"
__bcftools_version__ = "1.18"
Expand Down

0 comments on commit c36e3c5

Please sign in to comment.