chore: Add RC pipeline (#904)
This commit is contained in:
Родитель
97e7f37d4d
Коммит
3c8a98af76
|
@ -0,0 +1,38 @@
|
|||
# Gradle
|
||||
# Build your Java project and run tests with Gradle using a Gradle wrapper script.
|
||||
# Add steps that analyze code, save build artifacts, deploy, and more:
|
||||
# https://docs.microsoft.com/azure/devops/pipelines/languages/java
|
||||
|
||||
pool:
|
||||
vmImage: 'ubuntu-latest'
|
||||
|
||||
steps:
|
||||
- task: JavaToolInstaller@0
|
||||
displayName: Install Java 11
|
||||
inputs:
|
||||
versionSpec: '11'
|
||||
jdkArchitectureOption: 'x64'
|
||||
jdkSourceOption: 'PreInstalled'
|
||||
- task: NodeTool@0
|
||||
displayName: Install Node 14.15.4
|
||||
inputs:
|
||||
versionSpec: '14.15.4'
|
||||
- task: Gradle@2
|
||||
displayName: Build
|
||||
inputs:
|
||||
gradleWrapperFile: 'gradlew'
|
||||
gradleOptions: '-Xmx3072m'
|
||||
tasks: 'build'
|
||||
- bash: |
|
||||
cd $(Build.SourcesDirectory)/extension
|
||||
npx vsce@latest package
|
||||
displayName: Package VSIX
|
||||
- task: CopyFiles@2
|
||||
displayName: Copy VSIX
|
||||
inputs:
|
||||
Contents: 'extension/*.vsix'
|
||||
TargetFolder: '$(Build.ArtifactStagingDirectory)'
|
||||
- task: PublishBuildArtifacts@1
|
||||
displayName: Publish VSIX
|
||||
inputs:
|
||||
ArtifactName: extension
|
Загрузка…
Ссылка в новой задаче