Skip to content

Commit

Permalink
fix: icudtl.dat download logic in publish job
Browse files Browse the repository at this point in the history
  • Loading branch information
Brooooooklyn committed Aug 6, 2021
1 parent 6a9f3bd commit f2bb048
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/CI.yaml
Expand Up @@ -86,7 +86,6 @@ jobs:
- uses: actions/checkout@v2
with:
submodules: true
lfs: true

- name: Setup node
uses: actions/setup-node@v2
Expand Down Expand Up @@ -516,6 +515,8 @@ jobs:

steps:
- uses: actions/checkout@v2
with:
submodules: true

- name: Setup node
uses: actions/setup-node@v2
Expand Down
3 changes: 2 additions & 1 deletion scripts/release-skia-binary.js
@@ -1,5 +1,5 @@
const { execSync } = require('child_process')
const { promises: fs } = require('fs')
const { promises: fs, copyFileSync } = require('fs')
const { platform } = require('os')
const { parse, join } = require('path')

Expand Down Expand Up @@ -117,6 +117,7 @@ function downloadIcu() {
execSync(`curl -J -L -H "Accept: application/octet-stream" ${downloadUrl} -o ${ICU_DAT}`, {
stdio: 'inherit',
})
copyFileSync(join(__dirname, '..', ICU_DAT), join(__dirname, '..', 'npm', 'win32-x64-msvc', ICU_DAT))
return Promise.resolve(null)
}

Expand Down

0 comments on commit f2bb048

Please sign in to comment.