File tree 2 files changed +35
-21
lines changed
2 files changed +35
-21
lines changed Original file line number Diff line number Diff line change
1
+ trigger :
2
+ tags :
3
+ include :
4
+ - ' *'
5
+
6
+ pool :
7
+ vmImage : ubuntu-latest
8
+
9
+ steps :
10
+ - task : UsePythonVersion@0
11
+ inputs :
12
+ versionSpec : ' 3.8'
13
+ displayName : ' Use Python'
14
+
15
+ - script : |
16
+ python -m pip install --upgrade pip
17
+ pip install -r local-requirements.txt
18
+ pip install -e .
19
+ python setup.py bdist_wheel --all
20
+ displayName : ' Install & Build'
21
+
22
+ - task : EsrpRelease@4
23
+ inputs :
24
+ ConnectedServiceName : ' Playwright-ESRP'
25
+ Intent : ' PackageDistribution'
26
+ ContentType : ' PyPi'
27
+ ContentSource : ' Folder'
28
+ FolderLocation : ' ./dist/'
29
+ WaitForReleaseCompletion : true
30
+
31
+
32
+ ServiceEndpointUrl : ' https://api.esrp.microsoft.com'
33
+ MainPublisher : ' Playwright'
34
+ DomainTenantId : ' 72f988bf-86f1-41af-91ab-2d7cd011db47'
35
+ displayName : ' ESRP Release to PIP'
Original file line number Diff line number Diff line change 3
3
release :
4
4
types : [published]
5
5
jobs :
6
- deploy-pypi :
7
- runs-on : ubuntu-latest
8
- steps :
9
- - uses : actions/checkout@v3
10
- - name : Set up Python
11
- uses : actions/setup-python@v4
12
- with :
13
- python-version : 3.9
14
- - name : Install dependencies
15
- run : |
16
- python -m pip install --upgrade pip
17
- pip install -r local-requirements.txt
18
- pip install -e .
19
- python setup.py bdist_wheel --all
20
- python -m playwright install-deps
21
- - name : Publish package
22
- env :
23
- TWINE_USERNAME : ${{ secrets.PYPI_USERNAME }}
24
- TWINE_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
25
- run : twine upload dist/*
26
-
27
6
deploy-conda :
28
7
strategy :
29
8
matrix :
You can’t perform that action at this time.
0 commit comments