Skip to content

Commit

Permalink
build: fix publish openapi ui (#1613)
Browse files Browse the repository at this point in the history
  • Loading branch information
ndr-brt authored Oct 8, 2024
1 parent 57cf55e commit 8f55582
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish-openapi-ui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,15 @@ jobs:
with:
output: dist/${{ env.VERSION }}
spec-file: resources/openapi/yaml/${{ matrix.apiGroup.name }}.yaml
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Generate Swagger UI stable version
uses: Legion2/swagger-ui-action@v1
if: ${{ !endsWith( env.VERSION, '-SNAPSHOT') }}
with:
output: dist
spec-file: resources/openapi/yaml/${{ matrix.apiGroup.name }}.yaml
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 8f55582

Please sign in to comment.