ci: get OpenAPI json export operating on nightly (#1022)

This commit is contained in:
James Ward
2026-05-01 01:50:25 +00:00
committed by GitHub
parent 620002b3e3
commit 54340628c1
+8 -2
View File
@@ -144,13 +144,19 @@ jobs:
export-openapi:
name: Export Nightly OpenAPI Artifact
needs: [resolve_ref, test-suite, build-and-push]
needs: [resolve_ref]
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout Workflow Repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
fetch-depth: 1
ref: ${{ needs.resolve_ref.outputs.commit_sha }}
- name: Export OpenAPI JSON
uses: ./.github/actions/export-openapi
with:
@@ -160,7 +166,7 @@ jobs:
- name: Upload Nightly OpenAPI Artifact
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: nightly-openapi-${{ needs.resolve_ref.outputs.nightly_tag }}
name: openapi-${{ needs.resolve_ref.outputs.nightly_tag }}
path: backend/build/openapi/grimmory-openapi.json
retention-days: 30