Skip to content

Add option to dump workflow spec #74

Add option to dump workflow spec

Add option to dump workflow spec #74

Workflow file for this run

name: CI
on:
push:
branches:
- main
tags:
- '*'
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install pypa/build
run: >-
python3 -m
pip install
build
--user
- name: Build a binary wheel and source tarball
run: >-
python3 -m
build
--sdist
--wheel
--outdir dist
- name: Publish distribution
if: "startsWith(github.ref, 'refs/tags/')"
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}