Skip to content

ci: cache dependencies and drop redundant setup #5

ci: cache dependencies and drop redundant setup

ci: cache dependencies and drop redundant setup #5

Workflow file for this run

on:
push:
branches:
- '**'
pull_request:
workflow_call:
inputs:
ref:
description: Ref of this repository to build.
required: false
type: string
default: main
name: Build
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
with:
repository: vrchatapi/vrchatapi-java
ref: ${{ inputs.ref || github.ref }}
- uses: vrchatapi/specification/.github/actions/setup@ci/modernise-actions
with:
bundle: openapi-legacy.yaml
generator: 7.24.0
- uses: actions/setup-java@v5.7.0
with:
java-version: '17'
distribution: temurin
cache: maven
- run: bash ./generate.sh openapi-legacy.yaml
- run: mvn -B compile