Invoke prebuild directly so we can see what's going on
This commit is contained in:
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -56,6 +56,4 @@ jobs:
|
||||
if: ${{ matrix.os == 'windows-latest' }}
|
||||
- name: Publish
|
||||
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
|
||||
run: yarn upload
|
||||
env:
|
||||
GITHUB_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: yarn prebuild --upload-all ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
// to ensure that env not in the CI server log
|
||||
|
||||
const path = require('path')
|
||||
const { spawnSync } = require('child_process')
|
||||
|
||||
spawnSync(
|
||||
path.join(
|
||||
__dirname,
|
||||
'../node_modules/.bin/prebuild' +
|
||||
(process.platform === 'win32' ? '.cmd' : '')
|
||||
),
|
||||
['--upload-all', process.env.GITHUB_AUTH_TOKEN],
|
||||
{ stdio: 'inherit' }
|
||||
)
|
||||
Reference in New Issue
Block a user