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

Update action.yml

This commit is contained in:
Tonye Jack 2023-09-07 20:52:11 -06:00 committed by GitHub
parent d9fe6a0b4a
commit d6b4e609cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,17 +1,21 @@
name: Docker Action
description: Template Docker action
name: setup-postgresql
description: Setup PostgreSQL
author: tj-actions
inputs:
token:
description: 'GITHUB_TOKEN or a Repo scoped PAT'
postgresql_version:
description: 'Version of PostgreSQL. e.g 15'
required: true
default: ${{ github.token }}
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.token }}
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: check-square
icon: hard-drive
color: white