setup-mark-action/action.yml
liuxiaohua 939b270d72
Some checks failed
Functional Tests / Setup mark (ubuntu, 10.0.1) (push) Successful in 32m27s
Functional Tests / Setup mark (ubuntu, 11.0.0) (push) Successful in 3m26s
Functional Tests / Setup mark (ubuntu, 11.0.1) (push) Successful in 3m32s
Functional Tests / Setup mark (ubuntu, 11.1.0) (push) Successful in 4m4s
Functional Tests / Setup mark (ubuntu, 11.2.0) (push) Failing after 4m26s
Functional Tests / Setup mark (ubuntu, latest) (push) Failing after 47s
Linting / Pre-commit (push) Failing after 0s
Security / SAST (push) Failing after 0s
Labels / Maintenance (push) Failing after 0s
Release / GitHub (push) Failing after 0s
Functional Tests / Setup mark (macos, 10.0.1) (push) Has been cancelled
Functional Tests / Setup mark (macos, 11.0.0) (push) Has been cancelled
Functional Tests / Setup mark (macos, 11.0.1) (push) Has been cancelled
Functional Tests / Setup mark (macos, 11.1.0) (push) Has been cancelled
Functional Tests / Setup mark (macos, 11.2.0) (push) Has been cancelled
Functional Tests / Setup mark (macos, latest) (push) Has been cancelled
License / Maintenance (push) Failing after 0s
add url_prefix input
2024-11-08 09:29:47 +08:00

33 lines
885 B
YAML

---
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
default: "latest"
url_prefix:
description: "mark url."
required: false
default: "https://github.com/kovetskiy/mark"
runs:
using: "composite"
steps:
- name: Validate inputs
env:
INPUT_VERSION: "${{ inputs.version }}"
run: ./validate-inputs.sh "${INPUT_VERSION}"
shell: sh
working-directory: ${{ github.action_path }}/src
- name: Install kovetskiy/mark
env:
INPUT_VERSION: "${{ inputs.version }}"
INPUT_URL_PREFIX: "${{ inputs.url_prefix }}"
run: ./install-mark.sh "${INPUT_VERSION}" "${INPUT_URL_PREFIX}"
shell: sh
working-directory: ${{ github.action_path }}/src