Skip to content

Commit

Permalink
Update test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
devDishy authored Sep 24, 2022
1 parent 7473689 commit 77f65c5
Showing 1 changed file with 1 addition and 34 deletions.
35 changes: 1 addition & 34 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,30 +24,6 @@ jobs:
matrix:
include:
# 两行一组,删除不需要的版本
- platform: ds1621p
version: 7.0.1-42218
- platform: ds1621p
version: 7.1.0-42661

- platform: ds2422p
version: 7.0.1-42218

- platform: ds3615xs
version: 6.2.4-25556
- platform: ds3615xs
version: 7.0.1-42218
- platform: ds3615xs
version: 7.1.0-42661

- platform: ds3617xs
version: 7.0.1-42218
- platform: ds3617xs
version: 7.1.0-42661

- platform: ds3622xsp
version: 7.0.1-42218
- platform: ds3622xsp
version: 7.1.0-42661

- platform: ds918p
version: 6.2.4-25556
Expand All @@ -56,15 +32,6 @@ jobs:
- platform: ds918p
version: 7.1.0-42661

- platform: ds920p
version: 7.0.1-42218
- platform: ds920p
version: 7.1.0-42661

- platform: dva3221
version: 7.0.1-42218
- platform: dva3221
version: 7.1.0-42661

steps:
- name: 检出项目文件
Expand Down Expand Up @@ -103,7 +70,7 @@ jobs:
sed -i -e "s/1234XXX123/${sn:="1130LWN123456"}/g" -e 's/XXYYXXYYXXYY/0011323D47F7/g' ${{matrix.platform}}_user_config.json
# 添加第二张网卡mac并设置网卡数量
sed -i -e 's/0011323D47F7"/&,\n\t"mac2": "0011323D47F8",\n\t"netif_num": 2/' ${{matrix.platform}}_user_config.json
#sed -i -e 's/0011323D47F7"/&,\n\t"mac2": "0011323D47F8",\n\t"netif_num": 2/' ${{matrix.platform}}_user_config.json
# 调整synoinfo
sed -i -e 's/"synoinfo": {},/"synoinfo": {\n\t"maxlanport": "2"\n },/' ${{matrix.platform}}_user_config.json
Expand Down

0 comments on commit 77f65c5

Please sign in to comment.