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

This commit is contained in:
Jakob Lass 2025-04-11 15:41:22 +02:00
parent 80e5f6e315
commit 27edbbbd19

View File

@ -59,14 +59,31 @@ jobs:
name: Upload release to PyPI name: Upload release to PyPI
needs: [build_wheel] needs: [build_wheel]
runs-on: ubuntu-latest runs-on: ubuntu-latest
environment: strategy:
name: pypi matrix:
url: https://pypi.org/p/AMBER_ds4ms python-version: [3.13.3]
permissions:
id-token: ${{secrets.PYPI_TOKEN}} # IMPORTANT: this permission is mandatory for trusted publishing
steps: 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 # environment:
uses: pypa/gh-action-pypi-publish@release/v1 # 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