Skip to content

Renames the release workflow file as when configured at the PyPI #1

Renames the release workflow file as when configured at the PyPI

Renames the release workflow file as when configured at the PyPI #1

Workflow file for this run

---
name: Publish cff-from-621
on:
push:
tags: ["*"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
- uses: hynek/build-and-inspect-python-package@v2
pypi:
name: Publish to the cheeseshop
needs: ["build", "qa"]
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/cff-from-621
permissions:
id-token: write
steps:
- name: Download package
uses: actions/download-artifact@v4
with:
name: Packages
path: dist
- name: Upload package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
qa:
uses: ./.github/workflows/qa.yml
with:
ref: ${{ github.ref }}
...