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

View File

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