fix: use twine directly
This commit is contained in:
parent
38bf49db6d
commit
32d1b2df2e
1 changed files with 7 additions and 10 deletions
|
|
@ -12,10 +12,9 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest]
|
os: [ubuntu-latest]
|
||||||
environment: pypi
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- run: git clone --depth=1 https://github.com/pygobject/pycairo .
|
- run: git clone --depth=1 https://github.com/pygobject/pycairo --branch v1.28.0 .
|
||||||
|
|
||||||
- name: Build wheels
|
- name: Build wheels
|
||||||
uses: https://github.com/pypa/cibuildwheel@v2.23.3
|
uses: https://github.com/pypa/cibuildwheel@v2.23.3
|
||||||
|
|
@ -26,12 +25,10 @@ jobs:
|
||||||
CIBW_MANYLINUX_AARCH64_IMAGE: manylinux_2_28
|
CIBW_MANYLINUX_AARCH64_IMAGE: manylinux_2_28
|
||||||
|
|
||||||
- name: Publish package distributions to Forgejo
|
- name: Publish package distributions to Forgejo
|
||||||
uses: https://github.com/pypa/gh-action-pypi-publish@release/v1
|
run: |
|
||||||
with:
|
python3 -m twine upload ./wheelhouse/*
|
||||||
verbose: true
|
env:
|
||||||
repository-url: https://git.weddingfactory.eu/api/packages/cmwedding/pypi/simple
|
TWINE_REPOSITORY_URL: https://git.weddingfactory.eu/api/packages/cmwedding/pypi/simple
|
||||||
user: cmwedding-bot
|
TWINE_USER: cmwedding-bot
|
||||||
password: ${{ secrets.FORGEJO_TOKEN }}
|
TWINE_PASSWORD: ${{ secrets.FORGEJO_TOKEN }}
|
||||||
packages-dir: ./wheelhouse
|
|
||||||
skip-existing: true
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue