Skip to content

Commit

Permalink
Fix rush no longer being persisted in the PATH in the build lab. (#951)
Browse files Browse the repository at this point in the history
  • Loading branch information
BillyONeal authored Mar 14, 2023
1 parent 2393a00 commit 105f7f7
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions azure-pipelines/signing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,28 +90,39 @@ jobs:
- script: npm install -g @microsoft/rush
displayName: Install Rush
workingDirectory: ce\common\config\rush
- script: rush update
- script: |
set PATH=%PATH%;%APPDATA%\npm
rush update
displayName: Install vcpkg-artifacts Dependencies
workingDirectory: ce
- script: rush lint
- script: |
set PATH=%PATH%;%APPDATA%\npm
rush lint
displayName: Check vcpkg-artifacts for Linting Errors
workingDirectory: ce
- task: CodeQL3000Init@0
displayName: 'CodeQL Initialize'
- script: rush rebuild
- script: |
set PATH=%PATH%;%APPDATA%\npm
rush rebuild
displayName: Build vcpkg-artifacts Packages
workingDirectory: ce
- task: CodeQL3000Finalize@0
displayName: 'CodeQL Finalize'
- script: rush test
- script: |
set PATH=%PATH%;%APPDATA%\npm
rush test
displayName: Run vcpkg-artifacts Tests
workingDirectory: ce
- script: |
set PATH=%PATH%;%APPDATA%\npm
rush set-versions
node -e "const c = require('./ce/package.json'); p = require('./assets/package.json') ; p.version = c.version; require('fs').writeFileSync('./assets/package.json', JSON.stringify(p,undefined,2)); console.log(``set asset version to `${p.version}``);"
displayName: Set vcpkg-artifacts Package Versions
workingDirectory: ce
- script: mkdir "$(Build.BinariesDirectory)\ce" && rush deploy -t "$(Build.BinariesDirectory)\ce"
- script: |
set PATH=%PATH%;%APPDATA%\npm
mkdir "$(Build.BinariesDirectory)\ce" && rush deploy -t "$(Build.BinariesDirectory)\ce"
displayName: Collect vcpkg-artifacts Dependencies
workingDirectory: ce
- script: |
Expand Down

0 comments on commit 105f7f7

Please sign in to comment.