Skip to content

Instantly share code, notes, and snippets.

@vsavkin
Created December 16, 2019 23:28
Show Gist options
  • Save vsavkin/e23c09dbd4da9957ff1c8e9fd1207e5d to your computer and use it in GitHub Desktop.
Save vsavkin/e23c09dbd4da9957ff1c8e9fd1207e5d to your computer and use it in GitHub Desktop.
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