Skip to content

Commit de8d8d6

Browse files
committed
create config schema on release
1 parent 85b9659 commit de8d8d6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/release-bins.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,13 @@ jobs:
184184
tar -C release/$RELEASE -cf - dist/ | gzip -9 > artifacts/apollo-mcp-server-$VERSION-$RENAMED.tar.gz
185185
done
186186
187+
# We only need to generate the config schema for a release once, so we do it
188+
# on the linux host since it is the cheapest.
189+
- name: Generate config schema
190+
if: ${{ matrix.bundle == 'linux' }}
191+
run: |
192+
./release/cross-x86_64-unknown-linux-musl/dist/config-schema > artifacts/config.schema.json
193+
187194
- name: Upload release artifacts
188195
uses: softprops/action-gh-release@v2
189196
with:

0 commit comments

Comments
 (0)