Enhance CI_release.yml with artifact directory variable #18
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pool: | ||
|
Check failure on line 1 in .github/workflows/CI_release.yml
|
||
| vmImage: 'ubuntu-latest' | ||
| variables: | ||
| ARTIFACT_DIR: $(Build.ArtifactStagingDirectory) | ||
| stages: | ||
| - stage: BuildAndPackage | ||
| jobs: | ||
| - job: Package | ||
| steps: | ||
| - script: echo "Artifact dir is $ARTIFACT_DIR" | ||
| env: | ||
| ARTIFACT_DIR: $(ARTIFACT_DIR) | ||
| - task: NodeTool@0 | ||
| inputs: | ||
| versionSource: 'spec' | ||
| versionSpec: '22.x' | ||
| - task: Npm@1 | ||
| inputs: | ||
| command: 'install' | ||
| - task: Npm@1 | ||
| inputs: | ||
| command: 'custom' | ||
| customCommand: 'run package' | ||