0.8.4 #18
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
# SPDX-FileCopyrightText: 2021 Jeff Epler | |
# | |
# SPDX-License-Identifier: MIT | |
name: Release chap | |
on: | |
release: | |
types: [published] | |
jobs: | |
release: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Dump GitHub context | |
env: | |
GITHUB_CONTEXT: ${{ toJson(github) }} | |
run: echo "$GITHUB_CONTEXT" | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.11 | |
- name: Install deps | |
run: | | |
python -mpip install wheel | |
python -mpip install -r requirements-dev.txt | |
- name: Build release | |
run: python -mbuild | |
- name: Upload release | |
run: twine upload -u "$TWINE_USERNAME" -p "$TWINE_PASSWORD" dist/* | |
env: | |
TWINE_USERNAME: __token__ | |
TWINE_PASSWORD: ${{ secrets.pypi_token }} |