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 7777 name : sdk-build
7878 path : editors/sdkjs
7979
80- - name : Install Playwright browsers
80+ - name : Cache Playwright browsers
8181 if : matrix.os != 'ubuntu-latest'
82+ id : playwright-cache
83+ uses : actions/cache@v4
84+ with :
85+ path : |
86+ ~/Library/Caches/ms-playwright
87+ ~/AppData/Local/ms-playwright
88+ key : playwright-${{ runner.os }}-${{ hashFiles('bun.lock') }}
89+
90+ - name : Install Playwright browsers
91+ if : matrix.os != 'ubuntu-latest' && steps.playwright-cache.outputs.cache-hit != 'true'
8292 run : bunx playwright install chromium
8393
8494 - name : Cache converter
Original file line number Diff line number Diff line change @@ -206,7 +206,7 @@ function cleanup() {
206206}
207207
208208async function main ( ) {
209- const x2tPath = path . join ( CONVERTER_DIR , 'x2t' ) ;
209+ const x2tPath = path . join ( CONVERTER_DIR , os . platform ( ) === 'win32' ? 'x2t.exe' : 'x2t' ) ;
210210
211211 if ( fs . existsSync ( x2tPath ) ) {
212212 console . log ( 'Converter already installed at' , x2tPath ) ;
You can’t perform that action at this time.
0 commit comments