Created
December 16, 2019 23:28
-
-
Save vsavkin/e23c09dbd4da9957ff1c8e9fd1207e5d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jobs: | |
- job: initial_setup | |
pool: | |
vmImage: 'ubuntu-latest' | |
variables: | |
IS_PR: $[ eq(variables['Build.Reason'], 'PullRequest') ] | |
steps: | |
- template: .azure-pipelines/steps/install-node-modules.yml | |
- powershell: echo "##vso[task.setvariable variable=COMMANDS;isOutput=true]$(node ./tools/scripts/calculate-commands.js $(IS_PR))" | |
name: setCommands | |
- script: echo $(setCommands.COMMANDS) | |
name: echoCommands |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment