Skip to content

Commit

Permalink
Add a GitHub action to setup Grizzly binary
Browse files Browse the repository at this point in the history
  • Loading branch information
K-Phoen committed Mar 12, 2024
1 parent 201cdf8 commit 06b223e
Show file tree
Hide file tree
Showing 14 changed files with 30,987 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@
*.orig
*.swp
.idea
/actions/*/node_modules
1 change: 1 addition & 0 deletions actions/setup/.nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20
17 changes: 17 additions & 0 deletions actions/setup/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Grizzly - `setup` GitHub Action

This action downloads and adds Grizzly to the PATH.

## Inputs

### `version`

**Required** Version of Grizzly to install. Default `"latest"`.

## Example usage

```yaml
uses: grafana/grizzly/actions/setup@main
with:
version: 'v0.4.0'
```
12 changes: 12 additions & 0 deletions actions/setup/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: 'Setup Grizzly'
description: 'Setup Grizzly - A utility for managing Grafana resources'

runs:
using: 'node20'
main: 'dist/index.js'

inputs:
version:
description: 'Version of grizzly to install'
required: true
default: 'latest'
15 changes: 15 additions & 0 deletions actions/setup/dist/464.index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions actions/setup/dist/464.index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 06b223e

Please sign in to comment.