mirror of
https://github.com/tj-actions/install-postgresql.git
synced 2024-12-20 01:18:18 +00:00
21 lines
655 B
YAML
21 lines
655 B
YAML
name: install-postgresql
|
|
description: Install and verify PostgreSQL on the GitHub actions runner using a specified version.
|
|
author: tj-actions
|
|
inputs:
|
|
postgresql_version:
|
|
description: 'Version of PostgreSQL. e.g 15'
|
|
required: true
|
|
|
|
runs:
|
|
using: 'composite'
|
|
steps:
|
|
- run: |
|
|
bash $GITHUB_ACTION_PATH/entrypoint.sh
|
|
shell: bash
|
|
env:
|
|
# INPUT_<VARIABLE_NAME> is not available in Composite run steps
|
|
# https://github.community/t/input-variable-name-is-not-available-in-composite-run-steps/127611
|
|
INPUT_POSTGRESQL_VERSION: ${{ inputs.postgresql_version }}
|
|
branding:
|
|
icon: hard-drive
|
|
color: white
|