Skip to content

Commit

Permalink
set env variable for azure testing
Browse files Browse the repository at this point in the history
  • Loading branch information
arturcic committed Feb 28, 2024
1 parent 2c876fe commit 990dc60
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .azure/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ pr:
variables:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 'true'
DOTNET_CLI_TELEMETRY_OPTOUT: 'true'
INPUT_VERSIONSPEC: '5.x'

jobs:
- job: build
Expand All @@ -32,9 +31,11 @@ jobs:
npm run build:github
npm run build:azure
displayName: 'Build code'
- pwsh: $env:INPUT_VERSIONSPEC = "$(INPUT_VERSIONSPEC)"; node ./gitversion/setup/bundle.js
- pwsh: node ./gitversion/setup/bundle.js
displayName: gitversion/setup
workingDirectory: dist/azure
env:
INPUT_VERSIONSPEC: '5.x'
- pwsh: node ./gitversion/execute/bundle.js
name: version
displayName: gitversion/execute
Expand Down

0 comments on commit 990dc60

Please sign in to comment.