0
0
Fork 0
mirror of https://github.com/tj-actions/pg-dump.git synced 2025-06-11 13:12:32 +00:00

Upgraded to v3 (#137)

Co-authored-by: jackton1 <jackton1@users.noreply.github.com>
This commit is contained in:
tj-actions[bot] 2023-09-12 13:12:20 -06:00 committed by GitHub
parent 9bfb271922
commit f8978376ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 48 additions and 2 deletions

View file

@ -14,7 +14,7 @@ Run [pg\_dump](https://www.postgresql.org/docs/9.6/app-pgdump.html) to generate
steps:
- uses: actions/checkout@v2
- name: Postgres Dump Backup
uses: tj-actions/pg-dump@v2.3
uses: tj-actions/pg-dump@v3
with:
database_url: "postgres://test_user:test_user_password@localhost:5432/testdb"
path: "backups/backup.sql"
@ -28,7 +28,7 @@ Run [pg\_dump](https://www.postgresql.org/docs/9.6/app-pgdump.html) to generate
steps:
- uses: actions/checkout@v2
- name: Postgres Dump Backup
uses: tj-actions/pg-dump@v2.3
uses: tj-actions/pg-dump@v3
with:
database_url: "postgres://test_user:test_user_password@localhost:5432/testdb"
postgresql_version: "15" # Note: Only the major version is required e.g. 12, 14, 15