Skip to content

Commit

Permalink
chore: merge artifacts into single file
Browse files Browse the repository at this point in the history
  • Loading branch information
stumpylog authored and dvarrazzo committed May 27, 2024
1 parent 5f8db7b commit 2a5f0f2
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 4 deletions.
22 changes: 18 additions & 4 deletions .github/workflows/packages-bin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
run: python3 ./tools/build/copy_to_binary.py

- name: Build wheels
uses: pypa/cibuildwheel@v2.16.5
uses: pypa/cibuildwheel@v2.17.0
with:
package-dir: psycopg_binary
env:
Expand Down Expand Up @@ -119,7 +119,7 @@ jobs:
run: brew services start postgresql@${PG_VERSION}

- name: Build wheels
uses: pypa/cibuildwheel@v2.16.5
uses: pypa/cibuildwheel@v2.17.0
with:
package-dir: psycopg_binary
env:
Expand Down Expand Up @@ -170,7 +170,7 @@ jobs:
run: brew services start postgresql@${PG_VERSION}

- name: Build wheels
uses: pypa/cibuildwheel@v2.16.5
uses: pypa/cibuildwheel@v2.17.0
with:
package-dir: psycopg_binary
env:
Expand Down Expand Up @@ -218,7 +218,7 @@ jobs:
run: python3 ./tools/build/copy_to_binary.py

- name: Build wheels
uses: pypa/cibuildwheel@v2.16.5
uses: pypa/cibuildwheel@v2.17.0
with:
package-dir: psycopg_binary
env:
Expand All @@ -245,3 +245,17 @@ jobs:


# }}}

merge:
runs-on: ubuntu-latest
needs:
- linux
- macos-14
- macos-12
- windows
steps:
- name: Merge Artifacts
uses: actions/upload-artifact/merge@v4
with:
name: psycopg-binary-artifact
delete-merged: true
11 changes: 11 additions & 0 deletions .github/workflows/packages-pool.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,14 @@ jobs:
--health-interval 10s
--health-timeout 5s
--health-retries 5
merge:
runs-on: ubuntu-latest
needs:
- sdist
steps:
- name: Merge Artifacts
uses: actions/upload-artifact/merge@v4
with:
name: psycopg-pool-artifact
delete-merged: true
10 changes: 10 additions & 0 deletions .github/workflows/packages-src.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,13 @@ jobs:
--health-interval 10s
--health-timeout 5s
--health-retries 5
merge:
runs-on: ubuntu-latest
needs:
- sdist
steps:
- name: Merge Artifacts
uses: actions/upload-artifact/merge@v4
with:
name: psycopg-src-artifact
delete-merged: true

0 comments on commit 2a5f0f2

Please sign in to comment.