File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4343 echo "PYPI_URL=https://test.pypi.org/legacy/" >> $GITHUB_ENV
4444 if: github.event_name == 'workflow_dispatch' && github.event.inputs.environment == 'testpypi'
4545
46- - uses : astral-sh/setup-uv@eac588ad8def6316056a12d4907a9d4d84ff7a3b # v7.3.0
46+ - name : Setup python
47+ uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
4748 with :
48- save-cache : false
49+ python-version : ' 3.14'
50+ cache : pip
51+ cache-dependency-path : ci-constraints-requirements.txt
52+ timeout-minutes : 3
53+
54+ - run : python -m pip install -c ci-constraints-requirements.txt 'uv'
4955
5056 - uses : dawidd6/action-download-artifact@5c98f0b039f36ef966fdb7dfa9779262785ecb05 # v14
5157 with :
@@ -55,15 +61,14 @@ jobs:
5561 - run : |
5662 find tmpdist/ -type f -name 'cryptography*' -exec mv {} dist/ \;
5763
58- - uses : astral-sh/attest-action@f35111fb79f1e4f0150a1ee16cfd4399e3151bdb # v0.0.5
64+ - uses : astral-sh/attest-action@f589a42a7efb6fe400b4f400de60b4bc90390027 # v0.0.6
5965 # Do not perform attestation for things for TestPyPI. This is
6066 # because there's nothing that would prevent a malicious PyPI from
6167 # serving a signed TestPyPI asset in place of a release intended for
6268 # PyPI.
6369 if : env.PYPI_URL == 'https://upload.pypi.org/legacy/'
6470
6571 - name : Publish package distributions to PyPI
66- # uv is present because attest-action installs it.
6772 run : |
6873 uv publish --trusted-publishing=always dist/*
6974 env :
You can’t perform that action at this time.
0 commit comments