Skip to content

Merge pull request #8 from PSNAppz/1.0 #1

Merge pull request #8 from PSNAppz/1.0

Merge pull request #8 from PSNAppz/1.0 #1

Workflow file for this run

name: SR Models PyPI Publish
on:
push:
tags:
- "*"
branches-ignore:
- '*'
workflow_dispatch:
jobs:
publish-to-pypi:
name: Publish to PyPI For Models Tag
runs-on: ubuntu-latest
steps:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- uses: actions/checkout@v3
- name: Install build dependencies
run: pip install build
- name: Build distribution
run: python -m build ./openg2p-sr-models
- name: Publish
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}
packages-dir: ./openg2p-sr-models/dist/