Skip to content

v2.1.5

v2.1.5 #7

Workflow file for this run

name: Publish
on:
push:
branches:
- master
jobs:
pypi-publish:
name: Upload release to PyPI
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/crossmark-jotform-api
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.8'
- name: Install dependencies
run: |
python -m pip install -r dev_requirements.txt
pip install setuptools wheel twine
- name: Build
run: |
python -m build
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPISECRET }}
repository-url: https://upload.pypi.org/legacy/
skip-existing: true
verbose: true