Skip to content

Test new build

Test new build #58

Workflow file for this run

name: PyPI release
#on:
# release:
# types: [published]
on: push
jobs:
pypi-publish:
name: Upload release to PyPI
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/cfripper
permissions:
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup python
uses: actions/setup-python@v4
with:
python-version: '3.8'
- name: Install dependencies
run: |
python -m pip install -U pip
python -m pip install -U twine build setuptools-scm
- name: Build package
run: |
python -m setuptools_scm
python -m build
twine check --strict dist/*
# - name: Publish distribution 📦 to PyPI
# uses: pypa/gh-action-pypi-publish@release/v1
# with:
# user: __token__
# password: ${{ secrets.PYPI_TOKEN }}