File tree Expand file tree Collapse file tree 2 files changed +17
-8
lines changed Expand file tree Collapse file tree 2 files changed +17
-8
lines changed Original file line number Diff line number Diff line change @@ -14,17 +14,26 @@ jobs:
1414 permissions :
1515 id-token : write
1616 steps :
17+ # Checkout the repository
1718 - uses : actions/checkout@v4
19+
20+ # Set up Python
1821 - name : Set up Python
1922 uses : actions/setup-python@v4
2023 with :
21- python-version : " 3.x"
22- - name : Install dependencies
23- run : |
24- python -m pip install --upgrade pip
25- pip install setuptools wheel
24+ python-version : " 3.10" # Match the Python version in pyproject.toml
25+
26+ # Install PDM
27+ - name : Install PDM
28+ run : python -m pip install --upgrade pip pdm
29+
30+ # Install build dependencies
31+ - name : Install build dependencies
32+ run : pdm install --prod
33+
34+ # Build the package
2635 - name : Build package
27- run : |
28- python setup.py sdist bdist_wheel # Could also be python -m build
36+ run : pdm build
37+
2938 - name : Publish package distributions to PyPI
3039 uses : pypa/gh-action-pypi-publish@release/v1
Original file line number Diff line number Diff line change 11
22[project ]
33name = " lkml2cube"
4- version = " 0.2.6 "
4+ version = " 0.2.7 "
55description = " Looker ML to Cube converter"
66authors = [
77 {
name =
" Paco Valdez" ,
email =
" [email protected] " },
You can’t perform that action at this time.
0 commit comments