2024-03-26 21:37:02 +09:00
|
|
|
---
|
|
|
|
name: "Setup mark"
|
|
|
|
author: Yevhen Fabizhevskyi
|
|
|
|
description: "This action installs mark CLI tool."
|
|
|
|
branding:
|
|
|
|
icon: terminal
|
|
|
|
color: gray-dark
|
|
|
|
inputs:
|
|
|
|
version:
|
|
|
|
description: "mark version."
|
|
|
|
required: false
|
2024-04-13 21:13:47 +09:00
|
|
|
default: "latest"
|
2024-11-08 09:20:07 +08:00
|
|
|
url_prefix:
|
|
|
|
description: "mark url."
|
|
|
|
required: false
|
|
|
|
default: "https://github.com/kovetskiy/mark"
|
2024-03-26 21:37:02 +09:00
|
|
|
runs:
|
|
|
|
using: "composite"
|
|
|
|
steps:
|
2024-09-18 07:47:23 +09:00
|
|
|
- name: Validate inputs
|
|
|
|
env:
|
|
|
|
INPUT_VERSION: "${{ inputs.version }}"
|
|
|
|
run: ./validate-inputs.sh "${INPUT_VERSION}"
|
|
|
|
shell: sh
|
|
|
|
working-directory: ${{ github.action_path }}/src
|
2024-03-26 21:37:02 +09:00
|
|
|
- name: Install kovetskiy/mark
|
|
|
|
env:
|
|
|
|
INPUT_VERSION: "${{ inputs.version }}"
|
2024-11-08 09:29:47 +08:00
|
|
|
INPUT_URL_PREFIX: "${{ inputs.url_prefix }}"
|
|
|
|
run: ./install-mark.sh "${INPUT_VERSION}" "${INPUT_URL_PREFIX}"
|
2024-03-26 21:37:02 +09:00
|
|
|
shell: sh
|
|
|
|
working-directory: ${{ github.action_path }}/src
|