Skip to content

Commit 1fc5889

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

File tree

1 file changed

+25
-4
lines changed

1 file changed

+25
-4
lines changed

Diff for: .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+
rindows: # {{{
188191
runs-on: windows-latest
189192
if: true
190193

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

0 commit comments

Comments
 (0)