mirror of
https://github.com/actions/node-versions.git
synced 2025-01-11 10:35:20 +00:00
9f83a0c6de
Switch to using tar.gz format for Ubuntu and macOS systems because it is much more common on nix systems which is important in container scenarios
21 lines
604 B
YAML
21 lines
604 B
YAML
jobs:
|
|
- job: Build_Node
|
|
timeoutInMinutes: 90
|
|
pool:
|
|
name: Azure Pipelines
|
|
vmImage: ubuntu-latest
|
|
steps:
|
|
- checkout: self
|
|
|
|
- task: PowerShell@2
|
|
displayName: 'Build Node $(Version)'
|
|
inputs:
|
|
targetType: filePath
|
|
filePath: './builders/build-node.ps1'
|
|
arguments: '-Version $(Version) -Platform $(Platform) -Architecture $(Architecture)'
|
|
|
|
- task: PublishPipelineArtifact@1
|
|
displayName: 'Publish Artifact: Node.js $(Version)'
|
|
inputs:
|
|
targetPath: '$(Build.ArtifactStagingDirectory)'
|
|
artifactName: 'node-$(Version)-$(Platform)-$(Architecture)' |