mirror of https://github.com/grpc/grpc-node.git
Use nvm directly in linux scripts, use kokoro script for Windows
This commit is contained in:
parent
9d7bb3bd8e
commit
c0b9d9b51b
|
@ -136,7 +136,7 @@ jobs:
|
||||||
- name: Build
|
- name: Build
|
||||||
env:
|
env:
|
||||||
ARTIFACTS_OUT: '%GITHUB_WORKSPACE%/artifacts'
|
ARTIFACTS_OUT: '%GITHUB_WORKSPACE%/artifacts'
|
||||||
run: packages\grpc-native-core\tools\run_tests\artifacts\build_artifact_node.bat
|
run: tools/release/kokoro-electron.bat
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: windows-nodejs
|
name: windows-nodejs
|
||||||
|
@ -160,7 +160,7 @@ jobs:
|
||||||
- name: Build
|
- name: Build
|
||||||
env:
|
env:
|
||||||
ARTIFACTS_OUT: '%GITHUB_WORKSPACE%/artifacts'
|
ARTIFACTS_OUT: '%GITHUB_WORKSPACE%/artifacts'
|
||||||
run: packages\grpc-native-core\tools\run_tests\artifacts\build_artifact_electron.bat
|
run: tools/release/kokoro-electron.bat
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: windows-electron
|
name: windows-electron
|
||||||
|
|
|
@ -13,6 +13,8 @@
|
||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
|
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" && nvm install 12
|
||||||
|
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
arch_list=( ia32 x64 )
|
arch_list=( ia32 x64 )
|
||||||
|
|
|
@ -13,6 +13,8 @@
|
||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
|
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" && nvm install 12
|
||||||
|
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
arch_list=( ia32 x64 )
|
arch_list=( ia32 x64 )
|
||||||
|
|
Loading…
Reference in New Issue