Skip to content

Commit 473821e

Browse files
committed
Initial commit
0 parents  commit 473821e

File tree

3 files changed

+436
-0
lines changed

3 files changed

+436
-0
lines changed

README.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# actions-setup-tfcmt
2+
3+
The shmokmt/actions-setup-github-comment action installs [suzuki-shunsuke/github-comment](https://github.com/suzuki-shunsuke/github-comment) to the `PATH` in your GitHub Actions.
4+
5+
## `Inputs`
6+
7+
### `version`
8+
9+
Optional. The version of tfcmt. Default is "latest".
10+
11+
## Usage
12+
13+
This action can run be on `ubuntu-latest` and `macos-latest`.
14+
15+
Use latest version
16+
17+
```
18+
steps:
19+
- uses: shmokmt/actions-setup-github-comment@v1
20+
```
21+
22+
Use specific version
23+
24+
```
25+
steps:
26+
- uses: shmokmt/actions-setup-github-comment@v1
27+
with:
28+
version: v4.0.1
29+
```

action.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: "setup-github-comment"
2+
description: "Setup suzuki-shunsuke/github-comment"
3+
author: "shmokmt"
4+
inputs:
5+
version:
6+
description: "A version to install github-comment"
7+
default: "latest"
8+
runs:
9+
using: "composite"
10+
steps:
11+
- run: curl -sfL https://raw.githubusercontent.com/shmokmt/actions-setup-github-comment/main/install.sh | sudo sh -s -- -b /usr/local/bin -d ${GITHUB_COMMENT_VERSION}
12+
shell: bash
13+
env:
14+
GITHUB_COMMENT_VERSION: ${{ inputs.version }}
15+
- run: github-comment --version
16+
shell: bash
17+
18+
# Ref: https://haya14busa.github.io/github-action-brandings/
19+
branding:
20+
icon: 'terminal'
21+
color: 'gray-dark'

0 commit comments

Comments
 (0)