File tree 1 file changed +19
-3
lines changed 1 file changed +19
-3
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,12 @@ extends:
29
29
stages :
30
30
- stage : Stage
31
31
jobs :
32
- - job : HostJob
32
+ - job : Build
33
+ templateContext :
34
+ outputs :
35
+ - output : pipelineArtifact
36
+ path : $(Build.ArtifactStagingDirectory)/esrp-build
37
+ artifact : esrp-build
33
38
steps :
34
39
- task : UsePythonVersion@0
35
40
inputs :
@@ -41,9 +46,20 @@ extends:
41
46
pip install -r requirements.txt
42
47
pip install -e .
43
48
for wheel in $(python setup.py --list-wheels); do
44
- PLAYWRIGHT_TARGET_WHEEL=$wheel python -m build --wheel
49
+ PLAYWRIGHT_TARGET_WHEEL=$wheel python -m build --wheel --outdir $(Build.ArtifactStagingDirectory)/esrp-build
45
50
done
46
51
displayName: 'Install & Build'
52
+ - job : Publish
53
+ dependsOn : Build
54
+ templateContext :
55
+ type : releaseJob
56
+ isProduction : true
57
+ inputs :
58
+ - input : pipelineArtifact
59
+ artifactName : esrp-build
60
+ targetPath : $(Build.ArtifactStagingDirectory)/esrp-build
61
+ steps :
62
+ - checkout : none
47
63
- task : EsrpRelease@7
48
64
inputs :
49
65
connectedservicename : ' Playwright-ESRP-Azure'
@@ -56,7 +72,7 @@ extends:
56
72
# Keeping it commented out as a workaround for:
57
73
# https://portal.microsofticm.com/imp/v3/incidents/incident/499972482/summary
58
74
# contentsource: 'folder'
59
- folderlocation : ' ./dist/ '
75
+ folderlocation : ' $(Build.ArtifactStagingDirectory)/esrp-build '
60
76
waitforreleasecompletion : true
61
77
62
78
You can’t perform that action at this time.
0 commit comments