File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build geolake client and publish to PyPi
2+
3+ on :
4+ release :
5+ types : [published]
6+ workflow_dispatch :
7+ jobs :
8+ client-build-and-publish :
9+ name : Build geolake client and publish to TestPyPI
10+ strategy :
11+ matrix :
12+ python-version : ["3.11"]
13+ os : [ubuntu-latest]
14+ permissions :
15+ id-token : write
16+ runs-on : ${{ matrix.os }}
17+ steps :
18+ - uses : actions/checkout@v3
19+ - name : Set up Python ${{ matrix.python-version }}
20+ uses : actions/setup-python@v4
21+ with :
22+ python-version : ${{ matrix.python-version }}
23+ - name : Install build tool
24+ working-directory : ./client
25+ run : python3 -m pip install build --user .
26+ - name : Build wheels
27+ working-directory : ./client
28+ run : python -m build --sdist --wheel --outdir=dist/ .
29+ - name : Publish package distributions to PyPI
30+ uses : pypa/gh-action-pypi-publish@release/v1
31+ with :
32+ packages-dir : ./client/dist
You can’t perform that action at this time.
0 commit comments