mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-06-26 12:29:30 +00:00
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:
parent
fe8a3e6625
commit
7645a3f505
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user