Update changelog for 2023.12.0 (#89) #6
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
build: | |
if: github.repository == 'mozilla-services/python-dockerflow' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.8 | |
- name: Install dependencies | |
run: | | |
python -m pip install -U pip | |
python -m pip install -U setuptools twine wheel | |
- name: Build packages | |
run: | | |
python setup.py --version | |
python setup.py sdist --format=gztar bdist_wheel | |
twine check dist/* | |
- name: Upload packages to PyPI | |
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') | |
run: twine upload dist/* | |
env: | |
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }} | |
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }} |