File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ on :
2+ push :
3+ branches :
4+ - ' **'
5+ pull_request :
6+ workflow_call :
7+ inputs :
8+ spec-artifact :
9+ description : >-
10+ Artifact holding the bundled specification. Only reachable when the
11+ caller shares this run; when empty the latest published one is used.
12+ required : false
13+ type : string
14+ default : ' '
15+ ref :
16+ description : Ref of this repository to build.
17+ required : false
18+ type : string
19+ default : main
20+
21+ name : Build
22+
23+ jobs :
24+ build :
25+ runs-on : ubuntu-latest
26+ steps :
27+ - uses : vrchatapi/specification/.github/actions/sdk-spec@ci/modernise-actions
28+ with :
29+ repository : vrchatapi/vrchatapi-java
30+ ref : ${{ inputs.ref || github.ref }}
31+ generator-version : 7.24.0
32+ spec-artifact : ${{ inputs.spec-artifact }}
33+
34+ - uses : actions/setup-java@v5.7.0
35+ with :
36+ java-version : ' 17'
37+ distribution : temurin
38+
39+ - run : bash ./generate.sh openapi.json
40+
41+ - run : mvn -B -ntp compile
You can’t perform that action at this time.
0 commit comments