Skip to content

fix: Change Terminal Command Output Format to Align with Vite-Style O… #15

fix: Change Terminal Command Output Format to Align with Vite-Style O…

fix: Change Terminal Command Output Format to Align with Vite-Style O… #15

Workflow file for this run

# To publish a new version, push a new tag to the repository with the format vX.Y.Z
name: Publish Python Package
on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
- "v[0-9]+.[0-9]+.[0-9]+.post[0-9]+"
- "v[0-9]+.[0-9]+.[0-9]+[a-b][0-9]+"
- "v[0-9]+.[0-9]+.[0-9]+rc[0-9]+"
jobs:
build:
runs-on: ubuntu-latest
environment: release
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.x
- name: Install dependencies
run: pip install build
- name: Create packages
run: python -m build
- name: Archive packages
uses: actions/upload-artifact@v4
with:
name: dist
path: dist
publish:
needs: build
runs-on: ubuntu-latest
environment: release
permissions:
id-token: write
steps:
- name: Retrieve packages
uses: actions/download-artifact@v4
- name: Upload packages
uses: pypa/gh-action-pypi-publish@release/v1