Skip to content

Commit

Permalink
ci: add merge step to download all packages at once
Browse files Browse the repository at this point in the history
  • Loading branch information
dvarrazzo committed Jan 4, 2025
1 parent ed4ba11 commit 1dc7b5b
Showing 1 changed file with 25 additions and 4 deletions.
29 changes: 25 additions & 4 deletions .github/workflows/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ env:
PIP_BREAK_SYSTEM_PACKAGES: "1"

jobs:
build-sdist:
sdist: # {{{
if: true
strategy:
fail-fast: false
Expand Down Expand Up @@ -54,8 +54,9 @@ jobs:
--health-timeout 5s
--health-retries 5
# }}}

build-linux:
linux: # {{{
if: true

env:
Expand Down Expand Up @@ -130,8 +131,9 @@ jobs:
--health-timeout 5s
--health-retries 5
# }}}

build-macos:
macos: # {{{
runs-on: macos-${{ matrix.macver }}
if: true

Expand Down Expand Up @@ -183,8 +185,9 @@ jobs:
name: macos-${{matrix.pyver}}-macos-${{matrix.macver}}_${{matrix.arch}}
path: ./wheelhouse/*.whl

# }}}

build-windows:
windows: # {{{
runs-on: windows-latest
if: true

Expand Down Expand Up @@ -254,3 +257,21 @@ jobs:
with:
name: windows-${{ matrix.package_name }}-${{matrix.pyver}}-${{matrix.arch}}
path: ./wheelhouse/*.whl

# }}}

merge: # {{{
runs-on: ubuntu-latest
needs:
- sdist
- linux
- macos
- windows
steps:
- name: Merge Artifacts
uses: actions/upload-artifact/merge@v4
with:
name: psycopg2-binary-artifact
delete-merged: true

# }}}

0 comments on commit 1dc7b5b

Please sign in to comment.