0
0
Fork 0
mirror of https://github.com/tj-actions/install-postgresql.git synced 2024-12-20 01:18:18 +00:00

Merge branch 'main' into feat/add-support-for-caching

This commit is contained in:
Tonye Jack 2023-09-12 07:21:30 -06:00 committed by GitHub
commit 30a49f1e9b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 7 deletions

View file

@ -1,12 +1,12 @@
[![Ubuntu](https://img.shields.io/badge/Ubuntu-E95420?style=for-the-badge\&logo=ubuntu\&logoColor=white)](https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on)
[![Mac OS](https://img.shields.io/badge/mac%20os-000000?style=for-the-badge\&logo=macos\&logoColor=F0F0F0)](https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on)
[![Windows](https://img.shields.io/badge/Windows-0078D6?style=for-the-badge\&logo=windows\&logoColor=white)](https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on)
[![Public workflows that use this action.](https://img.shields.io/endpoint?style=for-the-badge\&url=https%3A%2F%2Fused-by.vercel.app%2Fapi%2Fgithub-actions%2Fused-by%3Faction%3Dtj-actions%2Fsetup-postgresql%26badge%3Dtrue)](https://github.com/search?o=desc\&q=tj-actions+setup-postgresql+path%3A.github%2Fworkflows+language%3AYAML\&s=\&type=Code)
[![Public workflows that use this action.](https://img.shields.io/endpoint?style=for-the-badge\&url=https%3A%2F%2Fused-by.vercel.app%2Fapi%2Fgithub-actions%2Fused-by%3Faction%3Dtj-actions%2Finstall-postgresql%26badge%3Dtrue)](https://github.com/search?o=desc\&q=tj-actions+setup-postgresql+path%3A.github%2Fworkflows+language%3AYAML\&s=\&type=Code)
[![CI](https://github.com/tj-actions/setup-postgresql/workflows/CI/badge.svg)](https://github.com/tj-actions/setup-postgresql/actions?query=workflow%3ACI)
[![Update release version.](https://github.com/tj-actions/setup-postgresql/workflows/Update%20release%20version./badge.svg)](https://github.com/tj-actions/setup-postgresql/actions?query=workflow%3A%22Update+release+version.%22)
[![CI](https://github.com/tj-actions/install-postgresql/workflows/CI/badge.svg)](https://github.com/tj-actions/setup-postgresql/actions?query=workflow%3ACI)
[![Update release version.](https://github.com/tj-actions/install-postgresql/workflows/Update%20release%20version./badge.svg)](https://github.com/tj-actions/setup-postgresql/actions?query=workflow%3A%22Update+release+version.%22)
## setup-postgresql
## install-postgresql
This Github action installs PostgreSQL on the GitHub actions runner and verifies the installation.
@ -15,11 +15,13 @@ This Github action installs PostgreSQL on the GitHub actions runner and verifies
steps:
- uses: actions/checkout@v4
- name: Setup PostgreSQL
uses: tj-actions/setup-postgresql@v1
uses: tj-actions/instwll-postgresql@v1
with:
postgresql_version: 15
```
> NOTE: This updates the installed PostgreSQL version with the specified version and updates the PATH.
## Inputs
<!-- AUTO-DOC-INPUT:START - Do not remove or modify this section -->

View file

@ -1,5 +1,5 @@
name: setup-postgresql
description: Install and verify PostgreSQL on the GitHub actions runner using a specified version
name: install-postgresql
description: Install PostgreSQL on the GitHub actions runner and verify the installation.
author: tj-actions
inputs:
postgresql_version: