We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eca1265 commit 3f53cc2Copy full SHA for 3f53cc2
.github/workflows/publish.yml
@@ -18,6 +18,8 @@ jobs:
18
uses: gradle/[email protected]
19
- name: Build
20
run: ./gradlew build
21
+ - name: Generate OpenAPI
22
+ run: ./gradlew generateOpenAPI
23
- name: Bundle tarballs
24
run: ./gradlew bundle
25
- name: Attach OpenDCS REST API WAR file
@@ -30,3 +32,8 @@ jobs:
30
32
gh release upload ${{ github.event.release.tag_name }} opendcs-web-client/build/libs/opendcs-web-client-${{ github.event.release.tag_name }}.war --repo ${{ github.repository }}
31
33
env:
34
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
35
+ - name: Attach OpenAPI Specification
36
+ run: |
37
+ gh release upload ${{ github.event.release.tag_name }} opendcs-rest-api/build/swagger/OpenDCS-REST-API.json --repo ${{ github.repository }}
38
+ env:
39
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments