Skip to content

Commit e057ed7

Browse files
committed
ci: build against the bundle this SDK generates from
1 parent 47f7dff commit e057ed7

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/build.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ on:
55
pull_request:
66
workflow_call:
77
inputs:
8-
spec-artifact:
8+
artifact:
99
description: >-
10-
Artifact holding the bundled specification. Only reachable when the
11-
caller shares this run; when empty the latest published one is used.
10+
Take the bundle from this run's artifacts rather than the latest
11+
release. Only set it when the caller shares the run.
1212
required: false
13-
type: string
14-
default: ''
13+
type: boolean
14+
default: false
1515
ref:
1616
description: Ref of this repository to build.
1717
required: false
@@ -24,13 +24,13 @@ jobs:
2424
build:
2525
runs-on: ubuntu-latest
2626
steps:
27-
- uses: vrchatapi/specification/.github/actions/sdk-spec@ci/modernise-actions
27+
- uses: vrchatapi/specification/.github/actions/setup@ci/modernise-actions
2828
with:
2929
repository: vrchatapi/vrchatapi-java
3030
ref: ${{ inputs.ref || github.ref }}
31-
generator-version: 7.24.0
32-
spec-artifact: ${{ inputs.spec-artifact }}
33-
spec-file: openapi-legacy.yaml
31+
bundle: openapi-legacy.yaml
32+
artifact: ${{ inputs.artifact }}
33+
generator: 7.24.0
3434

3535
- uses: actions/setup-java@v5.7.0
3636
with:

0 commit comments

Comments
 (0)