File tree Expand file tree Collapse file tree 1 file changed +14
-24
lines changed
Expand file tree Collapse file tree 1 file changed +14
-24
lines changed Original file line number Diff line number Diff line change @@ -19,27 +19,14 @@ jobs:
1919 shell : bash
2020 steps :
2121 - uses : actions/checkout@v3
22- - name : Install dependencies
23- run : |
24- pip3 install jstyleson
22+ with :
23+ fetch-depth : 0
24+ - name : Set up Python environment
25+ run : sudo apt update && sudo apt install -y python3 python3-pip
26+ - name : Install jstyleson
27+ run : pip3 install jstyleson
2528 - name : Validate json
26- run : |
27- python3 .github/validate_json.py
28-
29- validate_mod_json :
30- needs : validate_json
31- runs-on : ubuntu-latest
32- defaults :
33- run :
34- shell : bash
35- steps :
36- - uses : actions/checkout@v3
37- - name : Install dependencies
38- run : |
39- pip3 install jstyleson
40- - name : Validate mod json
41- run : |
42- python3 .github/validate_mod_json.py
29+ run : python3 .github/validate_json.py
4330
4431 update_size :
4532 needs : validate_json
@@ -49,12 +36,15 @@ jobs:
4936 shell : bash
5037 steps :
5138 - uses : actions/checkout@v3
52- - name : Install dependencies
53- run : |
54- pip3 install jstyleson
39+ with :
40+ fetch-depth : 0
41+ - name : Install jstyleson
42+ run : pip3 install jstyleson
5543 - name : Update size
44+ run : python3 .github/update_size.py
45+ - name : Switch to develop branch
5646 run : |
57- python3 .github/update_size.py
47+ git checkout develop
5848 - name : Commit changes
5949 uses : EndBug/add-and-commit@v9
6050 with :
You can’t perform that action at this time.
0 commit comments