update node version

This commit is contained in:
Tw93
2023-04-16 15:21:38 +08:00
parent e161096e76
commit 9030325872
2 changed files with 8 additions and 8 deletions

View File

@@ -68,16 +68,16 @@ jobs:
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v2 uses: actions/checkout@v3
- name: install node - name: install node
uses: actions/setup-node@v1 uses: actions/setup-node@v3
with: with:
node-version: 18 node-version: 18
- name: Install Rust for ubuntu-20.04 - name: Install Rust for ubuntu-20.04
if: inputs.platform == 'ubuntu-20.04' if: inputs.platform == 'ubuntu-20.04'
uses: actions-rs/toolchain@v1 uses: tw93/toolchain@v1
with: with:
toolchain: stable toolchain: stable
profile: minimal profile: minimal
@@ -86,7 +86,7 @@ jobs:
- name: Install Rust for windows-latest - name: Install Rust for windows-latest
if: inputs.platform == 'windows-latest' if: inputs.platform == 'windows-latest'
uses: actions-rs/toolchain@v1 uses: tw93/toolchain@v1
with: with:
toolchain: stable-x86_64-msvc toolchain: stable-x86_64-msvc
profile: minimal profile: minimal
@@ -95,7 +95,7 @@ jobs:
- name: Install Rust for macos-latest - name: Install Rust for macos-latest
if: inputs.platform == 'macos-latest' if: inputs.platform == 'macos-latest'
uses: actions-rs/toolchain@v1 uses: tw93/toolchain@v1
with: with:
toolchain: stable toolchain: stable
profile: minimal profile: minimal

View File

@@ -29,15 +29,15 @@ jobs:
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v2 uses: actions/checkout@v3
- name: install node - name: install node
uses: actions/setup-node@v1 uses: actions/setup-node@v3
with: with:
node-version: 18 node-version: 18
- name: Install Rust - name: Install Rust
uses: actions-rs/toolchain@v1 uses: tw93/toolchain@v1
with: with:
toolchain: ${{ matrix.rust }} toolchain: ${{ matrix.rust }}
profile: minimal profile: minimal