Skip to content

Release: chore(release): 0.48.0 (#317) Signed-off-by: client-software-ci <129794699+client-software-ci@users.noreply.github.com> #2

Release: chore(release): 0.48.0 (#317) Signed-off-by: client-software-ci <129794699+client-software-ci@users.noreply.github.com>

Release: chore(release): 0.48.0 (#317) Signed-off-by: client-software-ci <129794699+client-software-ci@users.noreply.github.com> #2

name: "Release: Publish"
run-name: "Release: ${{ github.event.head_commit.message }}"
on:
push:
branches:
- mainline
paths:
- CHANGELOG.md
concurrency:
group: release
jobs:
Publish:
name: Publish Release
permissions:
id-token: write
contents: write
uses: aws-deadline/.github/.github/workflows/reusable_publish.yml@mainline
secrets: inherit
# PyPI does not support reusable workflows yet
# # See https://github.com/pypi/warehouse/issues/11096
PublishToPyPI:
needs: Publish
runs-on: ubuntu-latest
environment: release
permissions:
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: release
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.9'
- name: Install dependencies
run: |
pip install --upgrade hatch
- name: Build
run: hatch -v build
# # See https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-pypi
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1