From 7645a3f505ec58cddf04f8ebf00b48972c933cd2 Mon Sep 17 00:00:00 2001 From: E M <5089238+emizzle@users.noreply.github.com> Date: Thu, 25 Jun 2026 15:15:50 +1000 Subject: [PATCH] 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. --- .github/workflows/release.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 904fc465..565e6b41 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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