Skip to content

fixed metrics file names #1

fixed metrics file names

fixed metrics file names #1

Workflow file for this run

name: publish-python
on:
push:
tags:
- "v*"
workflow_dispatch:
jobs:
build:
name: build-sdist-wheel
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Build package
run: |
python -m pip install --upgrade pip build twine
python -m build
python -m twine check dist/*
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: python-dist
path: dist/*
publish:
name: publish-to-pypi
runs-on: ubuntu-latest
needs: build
if: startsWith(github.ref, 'refs/tags/v')
environment:
name: pypi
permissions:
id-token: write
steps:
- name: Download artifacts
uses: actions/download-artifact@v4
with:
name: python-dist
path: dist
- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1