]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
ci: revert upload action to v3
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sun, 7 Jan 2024 11:49:41 +0000 (12:49 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sun, 7 Jan 2024 11:59:26 +0000 (12:59 +0100)
v4 requires to have every uploaded artifact in a separate directory.

- https://github.com/actions/upload-artifact/issues/478
- https://github.com/actions/upload-artifact/blob/main/docs/MIGRATION.md

.github/workflows/packages-bin.yml
.github/workflows/packages-pool.yml
.github/workflows/packages-src.yml

index 17819b387a1da540892a94af2c0dc7db095bd418..975fe4c5a5f80f17dc1161d5129609082fcb3acb 100644 (file)
@@ -71,7 +71,7 @@ jobs:
             PSYCOPG_TEST_WANT_LIBPQ_BUILD=${{ env.LIBPQ_VERSION }}
             PSYCOPG_TEST_WANT_LIBPQ_IMPORT=${{ env.LIBPQ_VERSION }}
 
-      - uses: actions/upload-artifact@v4
+      - uses: actions/upload-artifact@v3
         with:
           path: ./wheelhouse/*.whl
 
@@ -128,7 +128,7 @@ jobs:
             PSYCOPG_TEST_WANT_LIBPQ_BUILD=">= $PG_VERSION"
             PSYCOPG_TEST_WANT_LIBPQ_IMPORT=">= $PG_VERSION"
 
-      - uses: actions/upload-artifact@v4
+      - uses: actions/upload-artifact@v3
         with:
           path: ./wheelhouse/*.whl
 
@@ -179,7 +179,7 @@ jobs:
             PSYCOPG_TEST_WANT_LIBPQ_BUILD=">= 14"
             PSYCOPG_TEST_WANT_LIBPQ_IMPORT=">= 14"
 
-      - uses: actions/upload-artifact@v4
+      - uses: actions/upload-artifact@v3
         with:
           path: ./wheelhouse/*.whl
 
index dc285678aecbd2196793a286b630a3730e464690..08c334825e16ca275beefdb2dd0aecc39eec91e9 100644 (file)
@@ -39,7 +39,7 @@ jobs:
           PSYCOPG_TEST_DSN: "host=127.0.0.1 user=postgres"
           PGPASSWORD: password
 
-      - uses: actions/upload-artifact@v4
+      - uses: actions/upload-artifact@v3
         with:
           path: ./dist/*
 
index f51b53cc32205ed6b4e1fb3850cb5ab81ff63ba6..52db4858921a9e092971054c28e468b88bbba714 100644 (file)
@@ -47,7 +47,7 @@ jobs:
           PSYCOPG_TEST_DSN: "host=127.0.0.1 user=postgres"
           PGPASSWORD: password
 
-      - uses: actions/upload-artifact@v4
+      - uses: actions/upload-artifact@v3
         with:
           path: ./dist/*