Skip to content

Commit e1fc596

Browse files
committed
ci: add merge step to download all packages at once
1 parent b8d49e6 commit e1fc596

File tree

1 file changed

+25
-4
lines changed

1 file changed

+25
-4
lines changed

.github/workflows/packages.yml

+25-4
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ env:
77
PIP_BREAK_SYSTEM_PACKAGES: "1"
88

99
jobs:
10-
build-sdist:
10+
sdist: # {{{
1111
if: true
1212
strategy:
1313
fail-fast: false
@@ -54,8 +54,9 @@ jobs:
5454
--health-timeout 5s
5555
--health-retries 5
5656
57+
# }}}
5758

58-
build-linux:
59+
linux: # {{{
5960
if: true
6061

6162
env:
@@ -130,8 +131,9 @@ jobs:
130131
--health-timeout 5s
131132
--health-retries 5
132133
134+
# }}}
133135

134-
build-macos:
136+
macos: # {{{
135137
runs-on: macos-${{ matrix.macver }}
136138
if: true
137139

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

188+
# }}}
186189

187-
build-windows:
190+
windows: # {{{
188191
runs-on: windows-latest
189192
if: true
190193

@@ -254,3 +257,21 @@ jobs:
254257
with:
255258
name: windows-${{ matrix.package_name }}-${{matrix.pyver}}-${{matrix.arch}}
256259
path: ./wheelhouse/*.whl
260+
261+
# }}}
262+
263+
merge: # {{{
264+
runs-on: ubuntu-latest
265+
needs:
266+
- sdist
267+
- linux
268+
- macos
269+
- windows
270+
steps:
271+
- name: Merge Artifacts
272+
uses: actions/upload-artifact/merge@v4
273+
with:
274+
name: psycopg2-binary-artifact
275+
delete-merged: true
276+
277+
# }}}

0 commit comments

Comments
 (0)