Skip to content

Commit 2f7e8ef

Browse files
committed
chore(ci): generate from the JSON bundle
1 parent 399df0c commit 2f7e8ef

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎.github/workflows/ci.yaml‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,16 +45,16 @@ jobs:
4545

4646
- uses: vrchatapi/specification/.github/actions/download@main
4747
with:
48-
bundle: openapi-3.1.yaml
48+
bundle: openapi-3.1.json
4949
tag: ${{ inputs.tag }}
5050

5151
- id: version
52-
run: echo "version=$(yq -r '.info.version' openapi-3.1.yaml)${VERSION_POSTPEND}" >> $GITHUB_OUTPUT
52+
run: echo "version=$(yq -r '.info.version' openapi-3.1.json)${VERSION_POSTPEND}" >> $GITHUB_OUTPUT
5353

5454
- if: env.VERSION_POSTPEND != ''
55-
run: yq '--inplace' ".info.version |= \"${{ steps.version.outputs.version }}\"" openapi-3.1.yaml
55+
run: yq '--inplace' ".info.version |= \"${{ steps.version.outputs.version }}\"" openapi-3.1.json
5656

57-
- run: bash ./generate.sh openapi-3.1.yaml
57+
- run: bash ./generate.sh openapi-3.1.json
5858

5959
- uses: actions/upload-artifact@v7
6060
with:
@@ -104,7 +104,7 @@ jobs:
104104
with:
105105
name: java-generated
106106

107-
- run: rm -f openapi-3.1.yaml
107+
- run: rm -f openapi-3.1.json
108108

109109
- uses: JamesIves/github-pages-deploy-action@v4.9.0
110110
with:

‎generate.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
if [ ${#} -le 0 ]
44
then
5-
echo "Usage: generate.sh <openapi.yaml>" >&2
5+
echo "Usage: generate.sh <openapi.json>" >&2
66
exit 1
77
fi
88

0 commit comments

Comments
 (0)