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:
parent
9bfb271922
commit
f8978376ad
2 changed files with 48 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue