Skip to content

NIRTorch v1.0

NIRTorch v1.0 #12

Workflow file for this run

on:
release:
types: [published]
jobs:
pypi-publish:
name: Upload release to PyPI
runs-on: ubuntu-latest
environment:
name: pypi.yml
url: https://pypi.org/p/NIRTorch
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Build Python package
run: pip install build && python -m build
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1