Skip to content

Commit f2f8ce5

Browse files
authored
Use modern Python build tooling (#57)
1 parent 2fba50b commit f2f8ce5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,22 +20,22 @@ jobs:
2020
- name: Set up Python
2121
uses: actions/setup-python@v5
2222
with:
23-
python-version: 3.9
23+
python-version: 3.13
2424

2525
- name: Build 64-bit bootloader
2626
run: |
2727
cd bootloader
28-
python waf distclean all --target-arch=64bit
28+
python waf --target-arch=64bit all
2929
3030
- name: Build 32-bit bootloader
3131
run: |
3232
cd bootloader
33-
python waf distclean all --target-arch=32bit
33+
python waf --target-arch=32bit all
3434
3535
- name: Build packages
3636
run: |
37-
python -m pip install wheel
38-
python setup.py sdist bdist_wheel
37+
python -m pip install build setuptools wheel
38+
python -m build --no-isolation
3939
4040
- name: Archive packages
4141
uses: actions/upload-artifact@v4
@@ -59,7 +59,7 @@ jobs:
5959

6060
- name: Find dist files
6161
id: files
62-
run: echo "::set-output name=FILES::$(find -type f -printf '%p ')"
62+
run: echo "FILES=$(find -type f -printf '%p ')" >> $GITHUN_OUTPUT
6363

6464
- name: Publish snapshot package
6565
uses: meeDamian/[email protected]

0 commit comments

Comments
 (0)