mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-02-07 12:50:32 +03:00
ci: add merge step to download all packages at once
This commit is contained in:
parent
ed4ba11d17
commit
1dc7b5b70b
29
.github/workflows/packages.yml
vendored
29
.github/workflows/packages.yml
vendored
|
@ -7,7 +7,7 @@ env:
|
||||||
PIP_BREAK_SYSTEM_PACKAGES: "1"
|
PIP_BREAK_SYSTEM_PACKAGES: "1"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-sdist:
|
sdist: # {{{
|
||||||
if: true
|
if: true
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
@ -54,8 +54,9 @@ jobs:
|
||||||
--health-timeout 5s
|
--health-timeout 5s
|
||||||
--health-retries 5
|
--health-retries 5
|
||||||
|
|
||||||
|
# }}}
|
||||||
|
|
||||||
build-linux:
|
linux: # {{{
|
||||||
if: true
|
if: true
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
@ -130,8 +131,9 @@ jobs:
|
||||||
--health-timeout 5s
|
--health-timeout 5s
|
||||||
--health-retries 5
|
--health-retries 5
|
||||||
|
|
||||||
|
# }}}
|
||||||
|
|
||||||
build-macos:
|
macos: # {{{
|
||||||
runs-on: macos-${{ matrix.macver }}
|
runs-on: macos-${{ matrix.macver }}
|
||||||
if: true
|
if: true
|
||||||
|
|
||||||
|
@ -183,8 +185,9 @@ jobs:
|
||||||
name: macos-${{matrix.pyver}}-macos-${{matrix.macver}}_${{matrix.arch}}
|
name: macos-${{matrix.pyver}}-macos-${{matrix.macver}}_${{matrix.arch}}
|
||||||
path: ./wheelhouse/*.whl
|
path: ./wheelhouse/*.whl
|
||||||
|
|
||||||
|
# }}}
|
||||||
|
|
||||||
build-windows:
|
windows: # {{{
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
if: true
|
if: true
|
||||||
|
|
||||||
|
@ -254,3 +257,21 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: windows-${{ matrix.package_name }}-${{matrix.pyver}}-${{matrix.arch}}
|
name: windows-${{ matrix.package_name }}-${{matrix.pyver}}-${{matrix.arch}}
|
||||||
path: ./wheelhouse/*.whl
|
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
|
||||||
|
|
||||||
|
# }}}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user