New test
Some checks failed
Release workflow / single_test (3.13.3) (push) Successful in 11s
Gitea Actions Demo / build_test (3.13.3) (push) Successful in 10s
Release workflow / Build wheels for PyPI (3.13.3) (push) Successful in 8s
Gitea Actions Demo / release-test (push) Successful in 2s
Release workflow / Upload release to PyPI (3.13.3) (push) Failing after 5s
Some checks failed
Release workflow / single_test (3.13.3) (push) Successful in 11s
Gitea Actions Demo / build_test (3.13.3) (push) Successful in 10s
Release workflow / Build wheels for PyPI (3.13.3) (push) Successful in 8s
Gitea Actions Demo / release-test (push) Successful in 2s
Release workflow / Upload release to PyPI (3.13.3) (push) Failing after 5s
This commit is contained in:
parent
80e5f6e315
commit
27edbbbd19
@ -59,14 +59,31 @@ jobs:
|
||||
name: Upload release to PyPI
|
||||
needs: [build_wheel]
|
||||
runs-on: ubuntu-latest
|
||||
environment:
|
||||
name: pypi
|
||||
url: https://pypi.org/p/AMBER_ds4ms
|
||||
permissions:
|
||||
id-token: ${{secrets.PYPI_TOKEN}} # IMPORTANT: this permission is mandatory for trusted publishing
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: [3.13.3]
|
||||
steps:
|
||||
# retrieve your distributions here
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
python -m pip install twine
|
||||
- name: Upload
|
||||
run: |
|
||||
twine upload --username __token__ --password ${{secrets.PYPI_TOKEN}} --repository https://upload.pypi.org/legacy/ dist/*
|
||||
|
||||
- name: Publish package distributions to PyPI
|
||||
uses: pypa/gh-action-pypi-publish@release/v1
|
||||
# environment:
|
||||
# name: pypi
|
||||
# url: https://pypi.org/p/AMBER_ds4ms
|
||||
# permissions:
|
||||
# id-token: ${{secrets.PYPI_TOKEN}} # IMPORTANT: this permission is mandatory for trusted publishing
|
||||
# steps:
|
||||
# # retrieve your distributions here
|
||||
#
|
||||
# - name: Publish package distributions to PyPI
|
||||
# uses: pypa/gh-action-pypi-publish@release/v1
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user