This repository was archived by the owner on Oct 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 236
/
Copy pathprerelease.yml
65 lines (60 loc) · 1.73 KB
/
prerelease.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
# This will become the patch digit on the extension version. To avoid potential
# issues, it uses a two digit year to keep the entire number well under 2^31-1.
name: $(Date:yyMMdd)$(Rev:rrr)
trigger: none
pr: none
schedules:
- cron: "0 2 * * *"
displayName: Daily 2 AM
branches:
include:
- main
variables:
SignType: real
resources:
repositories:
- repository: MicroBuildTemplate
type: git
name: 1ESPipelineTemplates/MicroBuildTemplate
ref: refs/tags/release
extends:
template: azure-pipelines/MicroBuild.1ES.Official.yml@MicroBuildTemplate
parameters:
pool:
name: AzurePipelines-EO
image: AzurePipelinesWindows2022compliantGPT
os: windows
sdl:
sourceAnalysisPool:
name: AzurePipelines-EO
image: AzurePipelinesWindows2022compliantGPT
os: windows
spotBugs:
enabled: false # Turn this off, this isn't java.
customBuildTags:
- ES365AIMigrationTooling
stages:
- stage: stage
jobs:
- template: /build/build.yml@self
parameters:
prerelease: true
- job: PublishExtensions
displayName: Publish extensions
dependsOn: Build
steps:
- checkout: none
- download: current
artifact: extension-vsixes
- task: NodeTool@0
displayName: Use Node 18.x
inputs:
versionSpec: 18.x
- script: npm install --global @vscode/vsce
displayName: Install vsce
- script: for f in $(Pipeline.Workspace)/extension-vsixes/*.vsix; do vsce publish --packagePath $f; done
displayName: Publish vscode-arduino
env:
VSCE_PAT: $(vscePat)