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:
14
14
permissions :
15
15
id-token : write
16
16
steps :
17
+ # Checkout the repository
17
18
- uses : actions/checkout@v4
19
+
20
+ # Set up Python
18
21
- name : Set up Python
19
22
uses : actions/setup-python@v4
20
23
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
26
35
- name : Build package
27
- run : |
28
- python setup.py sdist bdist_wheel # Could also be python -m build
36
+ run : pdm build
37
+
29
38
- name : Publish package distributions to PyPI
30
39
uses : pypa/gh-action-pypi-publish@release/v1
Original file line number Diff line number Diff line change 1
1
2
2
[project ]
3
3
name = " lkml2cube"
4
- version = " 0.2.6 "
4
+ version = " 0.2.7 "
5
5
description = " Looker ML to Cube converter"
6
6
authors = [
7
7
{
name =
" Paco Valdez" ,
email =
" [email protected] " },
You can’t perform that action at this time.
0 commit comments