Skip to content

Commit

Permalink
added readme information
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelmartins committed Sep 2, 2023
1 parent f5af244 commit 1bafd7b
Showing 1 changed file with 62 additions and 2 deletions.
64 changes: 62 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,62 @@
# setup-blogc
Github Action to setup blogc
# setup-blogc v1

[![Test](https://github.com/blogc/setup-blogc/actions/workflows/test.yml/badge.svg)](https://github.com/blogc/setup-blogc/actions/workflows/test.yml)

This action sets up a [blogc](https://github.com/blogc/blogc) environment for use in actions by building it (if not found in cache) and adding the binaries to `PATH`.


## Usage

See [action.yml](action.yml)

### Setup latest stable release

```yaml
steps:
- uses: blogc/setup-blogc@v1
```
or
```yaml
steps:
- uses: blogc/setup-blogc@v1
with:
blogc-version: LATEST
```
### Setup latest Git commit from main branch (Git `HEAD`)

```yaml
steps:
- uses: blogc/setup-blogc@v1
with:
blogc-version: HEAD
```


### Setup specific release

```yaml
steps:
- uses: blogc/setup-blogc@v1
with:
blogc-version: 0.20.1
```


### Detect installed version

```yaml
steps:
- uses: blogc/setup-blogc@v1
id: blogc
- run: echo ${{ steps.blogc.outputs.blogc-version }}
```


## License

The scripts and documentation in this project are released under the [BSD 3-Clause License](LICENSE)

0 comments on commit 1bafd7b

Please sign in to comment.