TEMP: Only test when platform === target runtime

Fix arm64 node externals url
This commit is contained in:
David Kale
2019-11-07 14:41:35 -05:00
parent 5b011dc4ce
commit 55948e4ee6
2 changed files with 2 additions and 1 deletions

View File

@@ -59,6 +59,7 @@ jobs:
run: |
${{ matrix.devScript }} test
working-directory: src
if: matrix.runtime == 'linux-x64' || matrix.runtime == 'win-x64' || matrix.runtime == 'osx-x64'
# Create runner package tar.gz/zip
- name: Package Release

View File

@@ -145,7 +145,7 @@ if [[ "$PACKAGERUNTIME" == "linux-x64" || "$PACKAGERUNTIME" == "rhel.6-x64" ]];
fi
if [[ "$PACKAGERUNTIME" == "linux-arm64" ]]; then
acquireExternalTool "$NODE_URL/v${NODE12_VERSION}/node-v${NODE12_VERSION}-linux-armv64.tar.gz" node12 fix_nested_dir
acquireExternalTool "$NODE_URL/v${NODE12_VERSION}/node-v${NODE12_VERSION}-linux-arm64.tar.gz" node12 fix_nested_dir
fi
if [[ "$PACKAGERUNTIME" == "linux-arm" ]]; then