Skip to content

Enhance CI_release.yml with artifact directory variable #18

Enhance CI_release.yml with artifact directory variable

Enhance CI_release.yml with artifact directory variable #18

Workflow file for this run

pool:

Check failure on line 1 in .github/workflows/CI_release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/CI_release.yml

Invalid workflow file

(Line: 1, Col: 1): Unexpected value 'pool', (Line: 4, Col: 1): Unexpected value 'variables', (Line: 7, Col: 1): Unexpected value 'stages', (Line: 1, Col: 1): Required property is missing: jobs
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'