File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -118,5 +118,5 @@ $links | Out-File ./sponsors.md -Force -Encoding UTF8
118
118
write-host " Using chrome from $env: chrome "
119
119
120
120
Push-Location .github/ avatars
121
- Get-ChildItem * .svg | % { python ../ workflows/ sponsors.py " $ ( $ env.chrome ) " " $ ( $_.Name ) " " $ ( $_.BaseName ) .png" }
121
+ Get-ChildItem * .svg | % { python ../ workflows/ sponsors.py " $env .chrome" " $ ( $_.Name ) " " $ ( $_.BaseName ) .png" }
122
122
Pop-Location
Original file line number Diff line number Diff line change 2
2
import sys
3
3
from html2image import Html2Image
4
4
5
- chrome = sys .argv [1 ]
6
-
7
5
# read entire contents of file in args[2] as input
8
6
with open (sys .argv [2 ], 'r' , encoding = 'utf-8' ) as file :
9
7
input = file .read ()
10
8
11
9
output = sys .argv [3 ]
10
+ chrome = sys .argv [1 ]
12
11
13
12
hti = Html2Image (size = (39 ,39 ), browser_executable = chrome )
14
13
hti .browser .print_command = True
Original file line number Diff line number Diff line change 39
39
id : chrome
40
40
with :
41
41
chrome-version : ${{ github.event.inputs.chrome || vars.chrome || '1331469' }}
42
+ install-chromedriver : true
42
43
43
44
- name : 🔽 html2image
44
45
run : pip install --force-reinstall -v html2image==2.0.5
You can’t perform that action at this time.
0 commit comments