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:
parent
d9fe6a0b4a
commit
d6b4e609cc
1 changed files with 14 additions and 10 deletions
24
action.yml
24
action.yml
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue