File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Build
2
+
3
+ on :
4
+ pull_request :
5
+ release :
6
+ types :
7
+ - published
8
+
9
+ jobs :
10
+ build_wheels :
11
+ name : Build wheels on ${{ matrix.os }}
12
+ runs-on : ubuntu-20.04
13
+ if : github.event_name == 'release' && github.event.action == 'published'
14
+ steps :
15
+ - uses : actions/checkout@v2
16
+ # Include all history and tags, needed for building the right version
17
+ with :
18
+ fetch-depth : 0
19
+
20
+ - uses : actions/setup-python@v2
21
+ name : Install Python
22
+ with :
23
+ python-version : ' 3.8'
24
+
25
+ - name : Install datadog_checks_dev
26
+ run : |
27
+ python -m pip install datadog_checks_dev[cli]
28
+
29
+ - name : Set ddev pypi credentials
30
+ run : |
31
+ ddev config set pypi.user __token__
32
+ ddev config set pypi.token ${{ secrets.PYPI_TOKEN }}
33
+
34
+ - name : Publish the wheel to PyPI
35
+ run : |
36
+ ddev release upload .
You can’t perform that action at this time.
0 commit comments