Skip to content

Commit 722aa69

Browse files
committed
add openapi.json to release
1 parent 522032d commit 722aa69

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/build.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
branches: [ main ]
66
pull_request:
77
branches: [ main ]
8+
workflow_call:
89

910
permissions:
1011
contents: write
@@ -174,12 +175,11 @@ jobs:
174175
env:
175176
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
176177

177-
- name: Upload Release Assets binaries for Macos amd64
178+
- name: Upload Release Assets binaries for Ubuntu amd64
178179
uses: softprops/action-gh-release@v2
179180
continue-on-error: true
180181
with:
181182
files: |
182-
/tmp/${{ matrix.os }}_${{ matrix.target }}_${{ github.event.release.tag_name }}.zip
183183
docs/openapi3.json
184184
env:
185185
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,6 @@ jobs:
1616
Build_Windows_binaries:
1717
uses: ./.github/workflows/windows.yml
1818
secrets: inherit
19+
20+
Build_openapi:
21+
uses: ./.github/workflows/build.yaml

0 commit comments

Comments
 (0)