ci: bundle all build artifacts in a single directory

This commit is contained in:
Daniele Varrazzo 2023-04-02 12:59:29 +02:00
parent 1781e8b2c9
commit b747b5b0fd
3 changed files with 4 additions and 4 deletions

View File

@ -28,7 +28,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
path: |
dist/*/*.tar.gz
dist/*.tar.gz
env:
PSYCOPG2_TESTDB: postgres
@ -95,7 +95,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
path: |
dist/*/*${{ matrix.tag }}_${{ matrix.arch }}.whl
dist/*.whl
services:
postgresql:

View File

@ -22,7 +22,7 @@ fi
# Find psycopg version
version=$(grep -e ^PSYCOPG_VERSION "${prjdir}/setup.py" | sed "s/.*'\(.*\)'/\1/")
# A gratuitous comment to fix broken vim syntax file: '")
distdir="${prjdir}/dist/psycopg2-$version"
distdir="${prjdir}/dist"
# Replace the package name
if [[ "${PACKAGE_NAME:-}" ]]; then

View File

@ -9,7 +9,7 @@ prjdir="$( cd "${dir}/../.." && pwd )"
# Find psycopg version
version=$(grep -e ^PSYCOPG_VERSION setup.py | sed "s/.*'\(.*\)'/\1/")
# A gratuitous comment to fix broken vim syntax file: '")
distdir="${prjdir}/dist/psycopg2-$version"
distdir="${prjdir}/dist"
# Replace the package name
if [[ "${PACKAGE_NAME:-}" ]]; then