refreshenv as part of windows release script (#3507)

This commit is contained in:
Antioch Peverell 2020-11-26 21:27:37 +00:00 committed by GitHub
parent 64c8e0cf0a
commit 623e7d2e59
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,8 +1,10 @@
steps: steps:
- script: 'cargo test --all' - script: |
refreshenv && cargo test --all
displayName: Cargo Test All displayName: Cargo Test All
condition: and(succeeded(), contains(variables['Build.SourceBranch'], 'refs/tags/'), eq(variables['CI_JOB'], 'release' )) condition: and(succeeded(), contains(variables['Build.SourceBranch'], 'refs/tags/'), eq(variables['CI_JOB'], 'release' ))
- script: 'cargo build --release' - script: |
refreshenv && cargo build --release
displayName: Build Release displayName: Build Release
condition: and(succeeded(), contains(variables['Build.SourceBranch'], 'refs/tags/'), eq(variables['CI_JOB'], 'release' )) condition: and(succeeded(), contains(variables['Build.SourceBranch'], 'refs/tags/'), eq(variables['CI_JOB'], 'release' ))
- script: | - script: |