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
|
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
|
||||||
|
|
Loading…
Add table
Reference in a new issue