Move defaults section

This commit is contained in:
MaksimZhukov 2020-08-25 11:45:06 +03:00
parent 978acceff5
commit 47471a527c

View File

@ -13,6 +13,9 @@ on:
env: env:
VERSION: ${{ github.event.inputs.VERSION }} VERSION: ${{ github.event.inputs.VERSION }}
defaults:
run:
shell: pwsh
jobs: jobs:
build_node: build_node:
@ -45,9 +48,6 @@ jobs:
name: Test Node.js ${{ github.event.inputs.VERSION }} [${{ matrix.platform }}] name: Test Node.js ${{ github.event.inputs.VERSION }} [${{ matrix.platform }}]
needs: build_node needs: build_node
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
defaults:
run:
shell: pwsh
env: env:
ARTIFACT_NAME: node-${{ github.event.inputs.VERSION }}-${{ matrix.platform }}-x64 ARTIFACT_NAME: node-${{ github.event.inputs.VERSION }}-${{ matrix.platform }}-x64
strategy: strategy: