mirror of
https://github.com/httpie/cli.git
synced 2024-12-11 09:01:11 +01:00
003f2095d4
* Hide pretty help * Automatic release update warnings. * `httpie cli check-updates` * adapt to the new loglevel construct * Don't make the pie-colors the bold * Apply review feedback. Co-authored-by: Jakub Roztocil <jakub@roztocil.co>
31 lines
685 B
YAML
31 lines
685 B
YAML
name: Release on PyPI
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
branch:
|
|
description: "The branch, tag or SHA to release from"
|
|
required: true
|
|
default: "master"
|
|
|
|
jobs:
|
|
pypi-build-and-release:
|
|
name: Build and Release
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
ref: ${{ github.event.inputs.branch }}
|
|
|
|
- uses: actions/setup-python@v3
|
|
with:
|
|
python-version: 3.9
|
|
|
|
- name: Build a binary wheel and a source tarball
|
|
run: make build
|
|
|
|
- name: Release on PyPI
|
|
uses: pypa/gh-action-pypi-publish@master
|
|
with:
|
|
password: ${{ secrets.PYPI_TOKEN }}
|