mirror of
https://github.com/mii443/vrchatapi-rust.git
synced 2025-08-22 15:45:35 +00:00
Update ci.yaml
This commit is contained in:
10
.github/workflows/ci.yaml
vendored
10
.github/workflows/ci.yaml
vendored
@ -10,12 +10,12 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
name: Generate VRChat API SDK
|
||||
steps:
|
||||
- uses: actions/setup-node@v1
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- name: 'Cache node_modules'
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: node_modules
|
||||
key: ${{ runner.os }}-node-v16-${{ hashFiles('**/generate.sh') }}
|
||||
@ -26,7 +26,7 @@ jobs:
|
||||
- name: Set OpenAPI Generator version
|
||||
run: ./node_modules/\@openapitools/openapi-generator-cli/main.js version-manager set 6.2.1
|
||||
- name: Set up JDK 13
|
||||
uses: actions/setup-java@v2
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: '13'
|
||||
distribution: 'adopt'
|
||||
@ -48,8 +48,6 @@ jobs:
|
||||
branch: main
|
||||
folder: .
|
||||
commit-message: "Upgrade Rust SDK to spec ${{ env.spec_version }}"
|
||||
- name: Remove openapi-generator-cli.jar before publish
|
||||
run: rm openapi-generator-cli.jar
|
||||
- name: Deploy to Crates.io
|
||||
uses: katyo/publish-crates@v1
|
||||
with:
|
||||
|
Reference in New Issue
Block a user