Skip to content

updating docs and adding the possibility of plotting the gradient of … #142

updating docs and adding the possibility of plotting the gradient of …

updating docs and adding the possibility of plotting the gradient of … #142

Workflow file for this run

name: pypi
# Controls when the workflow will run
on:
push:
branches:
- main
jobs:
publish:
if: contains(github.event.head_commit.message, 'pypi')
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: "3.10"
cache: pip
- name: To PyPI using Flit
uses: AsifArmanRahman/to-pypi-using-flit@v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}
no-op:
if: "!contains(github.event.head_commit.message, 'pypi')"
runs-on: ubuntu-latest
steps:
- name: No operation
run: echo "Do not need to publish to PyPI"