Skip to content

Human intervention (#4) #12

Human intervention (#4)

Human intervention (#4) #12

Workflow file for this run

---
name: 🕊️ Release Workflow
on:
push:
branches:
- main
# Limit workflow to one job per branch.
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
env:
STABLE_PYTHON_VERSION: '3.12.3'
PYTHONUNBUFFERED: "1"
FORCE_COLOR: "1"
jobs:
release-workflow:
name: 🏹 Release Workflow
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- name: 📩 Checkout the source w/ full depth(for tags and SCM)
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: 🐍 Setup Python ${{ env.STABLE_PYTHON_VERSION }}
uses: actions/setup-python@v4
with:
python-version: ${{ env.STABLE_PYTHON_VERSION }}
- name: 🧱 Build wheel
run: |
make build
- name: 🐦 Release wheel
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ SECRETS.PYPI_TOKEN }}
packages_dir: dist
verbose: true