Skip to content

Commit

Permalink
ci: revert upload action to v3
Browse files Browse the repository at this point in the history
v4 requires to have every uploaded artifact in a separate directory.

- actions/upload-artifact#478
- https://github.com/actions/upload-artifact/blob/main/docs/MIGRATION.md
  • Loading branch information
dvarrazzo committed Jan 7, 2024
1 parent 2da0110 commit fe097e2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/packages-bin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/packages-pool.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/*

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/packages-src.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/*

Expand Down

0 comments on commit fe097e2

Please sign in to comment.