mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2025-02-11 17:10:57 +03:00
24 lines
462 B
YAML
24 lines
462 B
YAML
|
name: Tests and linters
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
tags:
|
||
|
- *
|
||
|
|
||
|
jobs:
|
||
|
|
||
|
publish-source:
|
||
|
name: Publish source tarball
|
||
|
runs-on: ubuntu-latest
|
||
|
env:
|
||
|
TWINE_USERNAME: __token__
|
||
|
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
- uses: actions/setup-python@v2
|
||
|
with:
|
||
|
python-version: 3.9
|
||
|
- run: python setup.py sdist
|
||
|
- run: pip install twine
|
||
|
- run: twine upload dist/*
|