Skip to content

Commit

Permalink
Merge wheels in separate job
Browse files Browse the repository at this point in the history
  • Loading branch information
redeboer committed Aug 23, 2024
1 parent 35e1024 commit c8d73f0
Showing 1 changed file with 18 additions and 5 deletions.
23 changes: 18 additions & 5 deletions .github/workflows/releases.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -474,9 +474,24 @@ jobs:
name: wheels-${{ matrix.os }}-${{ matrix.arch }}
path: wheels

pypi_merge_wheels:
name: Merge wheels
needs: [pypi_build_taplo_cli]
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v4
with:
pattern: wheels-*
path: wheels
merge-multiple: true
- uses: actions/upload-artifact@v4
with:
name: wheels
path: wheels

pypi_test_taplo_cli:
name: Test python wheels
needs: ["pypi_build_taplo_cli"]
needs: [pypi_merge_wheels]
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
Expand All @@ -488,9 +503,8 @@ jobs:
steps:
- uses: actions/download-artifact@v4
with:
pattern: wheels-*
name: wheels
path: wheels
merge-multiple: true
- uses: actions/setup-python@v5
with:
python-version: "3"
Expand All @@ -507,8 +521,7 @@ jobs:
steps:
- uses: actions/download-artifact@v4
with:
pattern: wheels-*
name: wheels
path: wheels
merge-multiple: true
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit c8d73f0

Please sign in to comment.