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