ci: publish openapi.yaml as a release asset

Attach openapi.yaml to tagged GitHub releases so external consumers (the
Python SDK, docs site, third parties) have a stable per-version URL for the
API spec. The release job now checks out the repo at the tagged ref and
includes openapi.yaml alongside the binary artifacts.
This commit is contained in:
E M 2026-06-25 15:15:50 +10:00
parent fe8a3e6625
commit 7645a3f505
No known key found for this signature in database

View File

@ -424,6 +424,9 @@ jobs:
needs: [build, release-tests]
if: needs.build.result == 'success' && needs.release-tests.result == 'success'
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Set conditional env variables
shell: bash
run: |
@ -454,6 +457,7 @@ jobs:
with:
files: |
/tmp/release/*-*
openapi.yaml
make_latest: true
- name: Generate Python SDK