Skip to content

Commit 0aa4a86

Browse files
committed
chore(): init
1 parent 2bf4a73 commit 0aa4a86

2 files changed

Lines changed: 35 additions & 0 deletions

File tree

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
setup-bpkg-action
2+
=================
3+
4+
> A GitHub Action the provides the [bkpg](https://github.com/bpkg/bpkg)
5+
> command in an action environment.
6+
7+
## Usage
8+
9+
See [action.yml](action.yml)
10+
11+
```yaml
12+
steps:
13+
- uses: actions/checkout@v3
14+
- uses: bpkg/setup-bpkg-action@v1
15+
with:
16+
bpkg-version: 1.1.2
17+
```
18+
19+
## License
20+
21+
MIT

action.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: 'Setup bpkg environment'
2+
description: 'Setup bpkg in environment making available in PATH'
3+
author: 'Joseph Werle <joseph.werle@gmail.com>'
4+
5+
inputs:
6+
bpkg-version:
7+
description: 'Version (tag) to use for bpkg'
8+
9+
runs:
10+
using: 'composite'
11+
steps:
12+
- shell: bash
13+
run: |
14+
curl -sLo- get.bpkg.sh/${{ inputs.bpkg-version }} | bash

0 commit comments

Comments
 (0)