File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -31,26 +31,29 @@ jobs:
31
31
versionSpec : ' 10.x'
32
32
displayName : ' [Config] Use - Node.js 10.x'
33
33
- script : yarn
34
- displayName : Build
35
34
env :
36
35
GITHUB_TOKEN : $(Personal.GitHub.Token)
36
+ displayName : Build
37
37
- bash : |
38
38
yarn --cwd ./electron/packager/
39
39
yarn --cwd ./electron/packager/ package
40
- displayName: Package
41
40
env:
42
41
GITHUB_TOKEN: $(Personal.GitHub.Token)
43
42
RELEASE_TAG: $(Release.Tag)
43
+ condition: in(variables['Build.Reason'], 'Manual', 'Schedule')
44
+ displayName: Package
44
45
- bash : |
45
46
export ARDUINO_POC_NAME=$(./electron/packager/cli name)
46
47
echo "##vso[task.setvariable variable=ArduinoPoC.AppName]$ARDUINO_POC_NAME"
47
48
env:
48
49
RELEASE_TAG: $(Release.Tag)
50
+ condition: in(variables['Build.Reason'], 'Manual', 'Schedule')
49
51
displayName: '[Config] Use - ARDUINO_POC_NAME env'
50
52
- task : PublishBuildArtifacts@1
51
53
inputs :
52
54
pathtoPublish : electron/build/dist/$(ArduinoPoC.AppName)
53
55
artifactName : ' Arduino-PoC - Applications'
56
+ condition : in(variables['Build.Reason'], 'Manual', 'Schedule')
54
57
displayName : Publish
55
58
- job : Release
56
59
pool :
You can’t perform that action at this time.
0 commit comments