Skip to content

Commit 926b973

Browse files
committed
update
1 parent 92d8bb9 commit 926b973

1 file changed

Lines changed: 13 additions & 9 deletions

File tree

.github/workflows/linux-qt5.yml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,22 +23,26 @@ jobs:
2323
target: desktop
2424
arch: gcc_64
2525

26-
- name: (3) list files
27-
run: |
28-
/usr/bin/ls ${{ env.SOURCE_DIR }}
29-
30-
- name: (4) Make qhexedit.exe
26+
- name: (3) Make qhexedit.exe
3127
working-directory: ${{ runner.temp }}
3228
run: |
3329
mkdir qhexedit
3430
cd qhexedit
3531
qmake ${{ env.SOURCE_DIR }}/example/qhexedit.pro
3632
make -j12
3733
38-
- name: (5) Make Python Wheel
34+
- name: (4) Setup Python
35+
uses: actions/setup-python@v5
36+
with:
37+
python-version: 3.12
38+
- name: (5) Install Python Dependencies
39+
run: |
40+
python -m pip install --upgrade pip
41+
pip install build
42+
43+
- name: (6) Make Python Wheel
3944
working-directory: ${{ runner.temp }}
4045
run: |
41-
sudo apt install python3-build -y
4246
mkdir python
4347
cd python
4448
cp -r ${{ env.SOURCE_DIR }}/src .
@@ -48,9 +52,9 @@ jobs:
4852
cp ${{ env.SOURCE_DIR }}/python/pyqt5-pyproject.toml pyproject.toml
4953
cp ${{ env.SOURCE_DIR }}/python/QHexEdit.sip .
5054
51-
python3 -m build --verbose
55+
python -m build --verbose
5256
53-
- name: (9) Save Python Wheel
57+
- name: (7) Save Python Wheel
5458
uses: actions/upload-artifact@master
5559
with:
5660
name: linux-qt5-qhexedit-wheel

0 commit comments

Comments
 (0)