use a metric from the no_edns test so nsid doesn't change #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: "Publish PyPi package when a new tag is pushed" | |
on: # yamllint disable-line rule:truthy | |
push: | |
tags: | |
- 'v*' | |
# https://docs.pypi.org/trusted-publishers/using-a-publisher/ | |
jobs: | |
pypi-publish: | |
name: "upload release to PyPI" | |
runs-on: "ubuntu-latest" | |
environment: "pypi-publish" | |
permissions: | |
id-token: "write" | |
steps: | |
# https://github.com/pypa/sampleproject/blob/main/.github/workflows/release.yml | |
- name: "Checkout" | |
uses: "actions/checkout@v3" | |
- name: "Set up Python" | |
uses: "actions/setup-python@v4" | |
with: | |
python-version: '3.12' | |
- name: "Install build dependencies" | |
run: "python -m pip install -U setuptools wheel build" | |
- name: "Build" | |
run: "python -m build ." | |
- name: "Publish package distributions to PyPI" | |
uses: "pypa/gh-action-pypi-publish@release/v1" | |
... |