Skip to content

ci: use the renamed setup-generator and download actions #8

ci: use the renamed setup-generator and download actions

ci: use the renamed setup-generator and download actions #8

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-python
ref: ${{ inputs.ref || github.ref }}
- uses: vrchatapi/specification/.github/actions/setup-generator@ci/modernise-actions
- uses: vrchatapi/specification/.github/actions/download@ci/modernise-actions
with:
bundle: openapi-legacy.yaml
- uses: actions/setup-python@v7
with:
python-version: '3.14'
cache: pip
- run: bash ./generate.sh openapi-legacy.yaml "$(yq -r '.info.version' openapi-legacy.yaml)"
- run: python -m pip install build
- run: python -m build
- run: python -m pip install dist/*.whl
- run: python -c "import vrchatapi; print(vrchatapi.__name__)"