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 09de57c
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .azure/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ variables:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 'true'
DOTNET_CLI_TELEMETRY_OPTOUT: 'true'
INPUT_VERSIONSPEC: '5.x'

jobs:
- job: build
displayName: ''
Expand All @@ -22,7 +21,6 @@ jobs:

pool:
vmImage: $(imageName)

steps:
- checkout: self
fetchDepth: '0'
Expand All @@ -32,9 +30,20 @@ jobs:
npm run build:github
npm run build:azure
displayName: 'Build code'
- pwsh: $env:INPUT_VERSIONSPEC = "$(INPUT_VERSIONSPEC)"; node ./gitversion/setup/bundle.js
- pwsh: |
echo '1'
echo $($env:INPUT_VERSIONSPEC)
echo '2'
echo '$env:INPUT_VERSIONSPEC'
echo '3'
echo $(INPUT_VERSIONSPEC)
echo '4'
echo $INPUT_VERSIONSPEC
echo '5'
displayName: gitversion/setup
workingDirectory: dist/azure
env:
INPUT_VERSIONSPEC: $(INPUT_VERSIONSPEC)
- pwsh: node ./gitversion/execute/bundle.js
name: version
displayName: gitversion/execute
Expand Down

0 comments on commit 09de57c

Please sign in to comment.