Update ci.yaml

This commit is contained in:
Foorack / Max Faxälv
2022-12-07 00:08:11 +01:00
parent e856ab7763
commit 590d1aab10

View File

@ -10,12 +10,12 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
name: Generate VRChat API SDK name: Generate VRChat API SDK
steps: steps:
- uses: actions/setup-node@v1 - uses: actions/setup-node@v3
with: with:
node-version: 16 node-version: 16
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: 'Cache node_modules' - name: 'Cache node_modules'
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: node_modules path: node_modules
key: ${{ runner.os }}-node-v16-${{ hashFiles('**/generate.sh') }} key: ${{ runner.os }}-node-v16-${{ hashFiles('**/generate.sh') }}
@ -26,7 +26,7 @@ jobs:
- name: Set OpenAPI Generator version - name: Set OpenAPI Generator version
run: ./node_modules/\@openapitools/openapi-generator-cli/main.js version-manager set 6.2.1 run: ./node_modules/\@openapitools/openapi-generator-cli/main.js version-manager set 6.2.1
- name: Set up JDK 13 - name: Set up JDK 13
uses: actions/setup-java@v2 uses: actions/setup-java@v3
with: with:
java-version: '13' java-version: '13'
distribution: 'adopt' distribution: 'adopt'
@ -48,8 +48,6 @@ jobs:
branch: main branch: main
folder: . folder: .
commit-message: "Upgrade Rust SDK to spec ${{ env.spec_version }}" 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 - name: Deploy to Crates.io
uses: katyo/publish-crates@v1 uses: katyo/publish-crates@v1
with: with: