Skip to content

Move httpkit to seprate repository #1

Move httpkit to seprate repository

Move httpkit to seprate repository #1

Workflow file for this run

name: Release
on:
push:
tags:
- '*.*.*'
jobs:
pypi:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Get tag
id: tag
run: |
echo ::set-output name=tag::${GITHUB_REF#refs/tags/}
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.8'
- name: Install dependencies
run: |
pip install poetry
poetry install
- name: Make build
run: |
poetry build
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: httpkit-${{ steps.tag.outputs.tag }}.tar.gz
path: dist/httpkit-${{ steps.tag.outputs.tag }}.tar.gz
- name: Publish release
env:
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }}
run: |
poetry publish