Commit 04c72a4 1 parent e0162c5 commit 04c72a4 Copy full SHA for 04c72a4
File tree 1 file changed +14
-24
lines changed
1 file changed +14
-24
lines changed Original file line number Diff line number Diff line change @@ -19,27 +19,14 @@ jobs:
19
19
shell : bash
20
20
steps :
21
21
- 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
25
28
- 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
43
30
44
31
update_size :
45
32
needs : validate_json
@@ -49,12 +36,15 @@ jobs:
49
36
shell : bash
50
37
steps :
51
38
- 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
55
43
- name : Update size
44
+ run : python3 .github/update_size.py
45
+ - name : Switch to develop branch
56
46
run : |
57
- python3 .github/update_size.py
47
+ git checkout develop
58
48
- name : Commit changes
59
49
uses : EndBug/add-and-commit@v9
60
50
with :
You can’t perform that action at this time.
0 commit comments