File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33 push :
44 branches :
55 - main
6- - devel
6+ - dev
77 release :
88 types : [released]
99
10+ env :
11+ DEFAULT_PYTHON : " 3.12"
12+
1013jobs :
1114 build :
1215 name : 🔨 Build distribution
1316 runs-on : ubuntu-latest
1417 steps :
1518 - uses : actions/checkout@v4
16- - name : 🏗 Set up Python 3.12
19+ - name : 🏗 Set up Python ${{ env.DEFAULT_PYTHON }}
1720 uses : actions/setup-python@v5
1821 with :
19- python-version : " 3.12"
20- - name : 🔨 Build a binary wheel and a source tarball
21- run : |
22- pip install --user --upgrade build
23- python -m build
24- - name : ⬆ Upload build result
25- uses : actions/upload-artifact@v4
22+ python-version : ${{ env.DEFAULT_PYTHON }}
23+ - name : 🔨 Build distribution
24+ uses : OctoPrint/actions/build-dist@main
2625 with :
27- name : dist
28- path : dist
26+ artifact : dist
2927
3028 pre-commit :
3129 name : 🧹 Pre-commit
3230 runs-on : ubuntu-latest
3331 steps :
3432 - uses : actions/checkout@v4
35- - name : 🏗 Set up Python 3.12
33+ - name : 🏗 Set up Python ${{ env.DEFAULT_PYTHON }}
3634 uses : actions/setup-python@v5
3735 with :
38- python-version : " 3.12 "
36+ python-version : ${{ env.DEFAULT_PYTHON }}
3937 - name : 🏗 Set up pre-commit
4038 run : |
4139 pip install pre-commit
4947 runs-on : ubuntu-22.04 # change back to ubuntu-latest once we drop Python 3.7 & upgrade playwright
5048 strategy :
5149 matrix :
52- octoprint : ["maintenance"] # add master once 1.11.0 has been released
50+ octoprint : ["main", "dev"]
5351 steps :
5452 - name : ⬇ Download build result
5553 uses : actions/download-artifact@v4
You can’t perform that action at this time.
0 commit comments