mirror of
https://git.bjxgj.com/xgj/xgj-actions.git
synced 2025-10-14 06:33:37 +08:00
feat: 更新 test-cache-state GitHub Action,修改运行环境为 ubuntu-node-20,以支持 Node.js 20 的特性和优化,提升测试的兼容性和性能。
This commit is contained in:
@@ -34,7 +34,7 @@ jobs:
|
|||||||
# 基础功能测试
|
# 基础功能测试
|
||||||
test-basic-operations:
|
test-basic-operations:
|
||||||
if: ${{ inputs.test_scope == 'basic' || inputs.test_scope == 'full' }}
|
if: ${{ inputs.test_scope == 'basic' || inputs.test_scope == 'full' }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-node-20
|
||||||
outputs:
|
outputs:
|
||||||
test-value: ${{ steps.basic-test.outputs.state-value }}
|
test-value: ${{ steps.basic-test.outputs.state-value }}
|
||||||
cache-hit: ${{ steps.basic-test.outputs.cache-hit }}
|
cache-hit: ${{ steps.basic-test.outputs.cache-hit }}
|
||||||
|
Reference in New Issue
Block a user