File: release.yml

package info (click to toggle)
pytest-httpx 0.36.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 436 kB
  • sloc: python: 4,734; makefile: 3
file content (26 lines) | stat: -rw-r--r-- 545 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
name: Release

on:
  push:
    branches:
      - master

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v5
    - name: Set up Python
      uses: actions/setup-python@v6
      with:
        python-version: '3.14'
    - name: Create packages
      run: |
        python -m pip install build
        python -m build .
    - name: Publish packages
      run: |
        python -m pip install twine
        python -m twine upload dist/* --skip-existing --username __token__ --password ${{ secrets.pypi_password }}