|
1 | | -name: tests |
| 1 | +name: release-main |
2 | 2 |
|
3 | 3 | on: |
4 | | - pull_request: |
| 4 | + # pull_request: |
| 5 | + # push: |
| 6 | + # tags: |
| 7 | + # - "**" |
| 8 | + # workflow_dispatch: |
5 | 9 | push: |
6 | | - tags: |
7 | | - - "**" |
8 | | - workflow_dispatch: |
| 10 | + branches: [ci-fix-mar] |
9 | 11 |
|
10 | 12 | jobs: |
11 | 13 | build_wheels: |
12 | | - name: "Build ${{ matrix.CIBW_BUILD }} wheels on ${{ matrix.os }}" |
| 14 | + name: "Build on ${{ matrix.os }}" |
13 | 15 | strategy: |
14 | 16 | matrix: |
15 | 17 | os: [ubuntu-latest, macos-latest, windows-latest] |
16 | | - CIBW_BUILD: ["*"] |
17 | | - exclude: |
18 | | - - os: ubuntu-latest |
19 | | - CIBW_BUILD: "*" |
20 | | - include: |
21 | | - - os: ubuntu-latest |
22 | | - CIBW_BUILD: "*manylinux*" |
23 | | - # Disable musllinux |
24 | | - # - os: ubuntu-latest |
25 | | - # CIBW_BUILD: "*musllinux*" |
26 | 18 | continue-on-error: true |
27 | 19 | runs-on: ${{ matrix.os }} |
28 | 20 | steps: |
29 | 21 | - uses: actions/checkout@v3 |
30 | 22 | with: |
31 | 23 | submodules: true |
32 | | - - name: Build ${{ matrix.CIBW_BUILD }} wheels on ${{ matrix.os }} |
33 | | - uses: pypa/cibuildwheel@v3.3.0 |
34 | | - env: |
35 | | - CIBW_BUILD: ${{ matrix.CIBW_BUILD }} |
| 24 | + - name: Build wheels on ${{ matrix.os }} |
| 25 | + uses: pypa/cibuildwheel@v3.3.1 |
36 | 26 |
|
37 | 27 | - uses: actions/upload-artifact@v4 |
38 | 28 | if: always() |
39 | 29 | with: |
40 | | - name: distribution |
| 30 | + name: distribution-${{ matrix.os }} |
41 | 31 | path: ./wheelhouse/*.whl |
42 | 32 |
|
43 | | - release: |
44 | | - needs: [build_wheels] |
45 | | - if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') |
46 | | - runs-on: ubuntu-latest |
| 33 | + # release: |
| 34 | + # needs: [build_wheels] |
| 35 | + # if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') |
| 36 | + # runs-on: ubuntu-latest |
47 | 37 |
|
48 | | - steps: |
49 | | - - uses: actions/checkout@v3 |
50 | | - - uses: actions/download-artifact@v4 |
51 | | - with: |
52 | | - name: distribution |
53 | | - path: dist/ |
54 | | - - name: Setup Python |
55 | | - uses: actions/setup-python@v6 |
56 | | - - name: Install tox |
57 | | - run: | |
58 | | - python -m pip install tox |
59 | | - - name: Release |
60 | | - run: tox -e release |
61 | | - env: |
62 | | - TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }} |
63 | | - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
| 38 | + # steps: |
| 39 | + # - uses: actions/checkout@v3 |
| 40 | + # - uses: actions/download-artifact@v4 |
| 41 | + # with: |
| 42 | + # name: distribution-* |
| 43 | + # path: dist/ |
| 44 | + # - name: Setup Python |
| 45 | + # uses: actions/setup-python@v6 |
| 46 | + # - name: Install tox |
| 47 | + # run: | |
| 48 | + # python -m pip install tox |
| 49 | + # - name: Release |
| 50 | + # run: tox -e release |
| 51 | + # env: |
| 52 | + # TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }} |
| 53 | + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
0 commit comments