File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed
Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,10 @@ inputs:
1212 description : ' Diff against an earlier version of the fonts'
1313 required : false
1414 default : ' none'
15+ width :
16+ description : ' Width of diff images. Default is 1280px'
17+ required : false
18+ default : 1280
1519runs :
1620 using : " composite"
1721 steps :
@@ -21,13 +25,18 @@ runs:
2125 python-version : 3.9
2226 - name : Install packages
2327 run : |
24- pip install pip install git+https://github.com/m4rc1e/tools.git@6b76b11dfd79168002b9be113085b87ac43f92c1
28+ pip install git+https://github.com/m4rc1e/tools.git@b0b5a57c0bd58fbfcc51ea6c05c45017f37a7e19
2529 shell : bash
2630 - name : Setup Chrome
2731 uses : browser-actions/setup-chrome@latest
2832 - name : Setup Chrome Driver
2933 uses : nanasess/setup-chromedriver@master
3034
35+ - name : Setup Firefox
36+ uses : browser-actions/setup-firefox@latest
37+ - name : Setup Firefox Driver
38+ uses : browser-actions/setup-geckodriver@latest
39+
3140 - name : Gen Screenshots
3241 run : |
3342 chromedriver --url-base=/wd/hub &
Original file line number Diff line number Diff line change 1515parser .add_argument ("path" )
1616parser .add_argument ("--pt_size" , default = 16 )
1717parser .add_argument ("--fonts_before" )
18+ parser .add_argument ("--width" , type = int , default = 1280 )
1819args = parser .parse_args ()
1920
2021
4748
4849
4950html .build_pages (pt_size = args .pt_size )
50- html .save_imgs ()
51+ html .save_imgs (width = args . width )
You can’t perform that action at this time.
0 commit comments