Skip to content

ci: build against the bundle this SDK generates from #3

ci: build against the bundle this SDK generates from

ci: build against the bundle this SDK generates from #3

Workflow file for this run

on:
push:
branches:
- '**'
pull_request:
workflow_call:
inputs:
artifact:
description: >-
Take the bundle from this run's artifacts rather than the latest
release. Only set it when the caller shares the run.
required: false
type: boolean
default: false
ref:
description: Ref of this repository to build.
required: false
type: string
default: main
name: Build
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: vrchatapi/specification/.github/actions/setup@ci/modernise-actions
with:
repository: vrchatapi/vrchatapi-java
ref: ${{ inputs.ref || github.ref }}
bundle: openapi-legacy.yaml
artifact: ${{ inputs.artifact }}
generator: 7.24.0
- uses: actions/setup-java@v5.7.0
with:
java-version: '17'
distribution: temurin
- run: bash ./generate.sh openapi-legacy.yaml
- run: mvn -B -ntp compile