Skip to content

mo-dkrz is uploading the code to pypi 🧉 #4

mo-dkrz is uploading the code to pypi 🧉

mo-dkrz is uploading the code to pypi 🧉 #4

Workflow file for this run

name: Create Pip package
run-name: ${{ github.actor }} is uploading the code to pypi 🧉
on:
push:
tags:
- "*"
jobs:
pipy:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.x"
-
name: Install pypa/build
run: python -m pip install build
-
name: Build a binary wheel and a source tarball
run: python -m build --sdist --wheel --outdir dist/
-
name: publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}