File: deploy_pure_python_wheel.yml

package info (click to toggle)
ezdxf 1.4.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 104,564 kB
  • sloc: python: 182,669; makefile: 116; lisp: 20; ansic: 4
file content (28 lines) | stat: -rw-r--r-- 725 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: PyPI pure Python wheel deployer
on:
  push:
    tags:
      - 'v*'
  workflow_dispatch:

jobs:
  # Deploy source distribution
  Source-dist:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: Setup Python
        uses: actions/setup-python@v5
        with:
          python-version: pypy-3.11
      - name: create pure Python wheel
        run: |
          pypy -m pip install "setuptools>69.0.0" wheel
          pypy setup.py bdist_wheel
      - name: Upload pure Python wheel to PyPI
        env:
          TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
          TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
        run: |
          pip install twine
          twine upload dist/*