File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed
Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change 1+ name : cd-pydgraph
2+
3+ on :
4+ workflow_dispatch :
5+ inputs :
6+ releasetag :
7+ description : releasetag
8+ required : true
9+ type : string
10+
11+ permissions :
12+ contents : read
13+
14+ jobs :
15+ pydgraph-build :
16+ runs-on : warp-ubuntu-latest-x64-16x
17+ steps :
18+ - uses : actions/checkout@v4
19+ with :
20+ ref : " ${{ github.event.inputs.releasetag }}"
21+ - name : Set up Python
22+ uses : actions/setup-python@v5
23+ with :
24+ python-version-file : pyproject.toml
25+ - name : Install dependencies
26+ run : |
27+ python -m pip install --upgrade pip
28+ python -m pip install .[dev]
29+ # use twine to upload to pypi
30+ python -m pip install twine
31+ - name : Verify that protobufs are checked in
32+ run : |
33+ python scripts/protogen.py
34+ git diff --exit-code -- .
35+ - name : Build pydgraph
36+ run : |
37+ rm -rf dist
38+ # build binary wheel and a source tarball
39+ python -m build
40+ - name : Upload to PyPi
41+ run :
42+ twine upload --username ${{ secrets.DGRAPH_PYPI_USERNAME }} --password ${{
43+ secrets.DGRAPH_PYPI_PASSWORD }} dist/*
You can’t perform that action at this time.
0 commit comments