Commit 834675f5b6a862f9ef3ad4c8df9956bc7faef1c4
Committed by
Gitee
1 parent
c419c1e1
update .github/workflows/yudao-ui-admin.yml.
定义node.js版本用的 node-version,取参数用的matrix.node_version,所以一直取不到。 看了下GitHub Actions的历史记录,以前也取不到版本号,只不过以前GitHub应该是默认使用的16.x版本,现在默认使用18.x版本了,而项目最高支持到17.x,所以以前不报错,但现在报错了。 Signed-off-by: 六楼的雨 <nianqinianyi@163.com>
Showing
1 changed file
with
1 additions
and
1 deletions
.github/workflows/yudao-ui-admin.yml
| @@ -21,7 +21,7 @@ jobs: | @@ -21,7 +21,7 @@ jobs: | ||
| 21 | 21 | ||
| 22 | strategy: | 22 | strategy: |
| 23 | matrix: | 23 | matrix: |
| 24 | - node-version: [14.x, 16.x] | 24 | + node_version: [14.x, 16.x] |
| 25 | # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ | 25 | # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ |
| 26 | 26 | ||
| 27 | steps: | 27 | steps: |