Use nvm directly in linux scripts, use kokoro script for Windows

This commit is contained in:
Michael Lumish 2020-05-07 11:30:15 -07:00
parent 9d7bb3bd8e
commit c0b9d9b51b
3 changed files with 6 additions and 2 deletions

View File

@ -136,7 +136,7 @@ jobs:
- name: Build
env:
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
with:
name: windows-nodejs
@ -160,7 +160,7 @@ jobs:
- name: Build
env:
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
with:
name: windows-electron

View File

@ -13,6 +13,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" && nvm install 12
set -ex
arch_list=( ia32 x64 )

View File

@ -13,6 +13,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" && nvm install 12
set -ex
arch_list=( ia32 x64 )