mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Split twine check and upload
This commit is contained in:
parent
37f42f0158
commit
89ab84a0e6
5
.github/workflows/create-release.yml
vendored
5
.github/workflows/create-release.yml
vendored
@ -45,6 +45,10 @@ jobs:
|
||||
- name: Build distribution
|
||||
run: python -m build
|
||||
|
||||
- name: Check distribution
|
||||
run: |
|
||||
twine check dist/*
|
||||
|
||||
- name: Mint PyPI API token
|
||||
id: mint-token
|
||||
uses: actions/github-script@v7
|
||||
@ -77,7 +81,6 @@ jobs:
|
||||
TWINE_USERNAME: "__token__"
|
||||
TWINE_PASSWORD: "${{ steps.mint-token.outputs.api-token }}"
|
||||
run: |
|
||||
twine check dist/*
|
||||
twine upload dist/*
|
||||
|
||||
github-release:
|
||||
|
Loading…
Reference in New Issue
Block a user