Skip to content

Commit 5f202ec

Browse files
committed
Mock workflow
1 parent 22a1ce8 commit 5f202ec

File tree

1 file changed

+33
-4
lines changed

1 file changed

+33
-4
lines changed

.github/workflows/python_wheel_build.yml

Lines changed: 33 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,35 @@ jobs:
4141
name: cp38-manylinux_x86_64
4242
path: wheelhouse/*
4343

44+
cp39-manylinux_x86_64:
45+
runs-on: ubuntu-latest
46+
steps:
47+
- name: Checkout
48+
uses: actions/checkout@v4
49+
with:
50+
ref: ${{ inputs.branch }}
51+
52+
# - name: Build wheel
53+
# uses: pypa/[email protected]
54+
# env:
55+
# CIBW_BUILD: cp39-manylinux_x86_64
56+
# with:
57+
# output-dir: ${{ env.WORKDIR }}/wheelhouse
58+
59+
- name: Mock step
60+
run: |
61+
mkdir -p wheelhouse
62+
touch wheelhouse/wheel3.whl
63+
touch wheelhouse/wheel4.whl
64+
65+
- name: Upload wheel
66+
uses: actions/upload-artifact@v4
67+
with:
68+
name: cp39-manylinux_x86_64
69+
path: wheelhouse/*
70+
4471
create_and_upload_wheel_registry:
45-
needs: cp38-manylinux_x86_64
72+
needs: [cp38-manylinux_x86_64, cp39-manylinux_x86_64]
4673
runs-on: ubuntu-latest
4774
steps:
4875

@@ -51,6 +78,11 @@ jobs:
5178
with:
5279
name: cp38-manylinux_x86_64
5380

81+
- name: Download artifact
82+
uses: actions/download-artifact@v4
83+
with:
84+
name: cp39-manylinux_x86_64
85+
5486
- name: Setup Python
5587
uses: actions/setup-python@v5
5688

@@ -64,9 +96,6 @@ jobs:
6496
run: |
6597
mkdir -p wheelhouse
6698
mv *.whl wheelhouse
67-
python -m pip install --upgrade pip
68-
python -m pip install simple503
69-
simple503 wheelhouse
7099
71100
- name: Upload wheel registry to github
72101
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)