generated from actions/javascript-action
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
25e527f
commit 914d4e5
Showing
1 changed file
with
11 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ The `pbuf-setup` GitHub Action is designed to install `pbuf-cli`, a command-line | |
- **Token Auth Support**: Supports usage of a `pbuf_token` for operations requiring authentication with the PBUF registry. | ||
|
||
## Inputs | ||
- **`version`**: The version of the CLI to install. Default is 'v0.3.2'. This input is optional. | ||
- **`version`**: The version of the CLI to install. The default is 'v0.3.2'. This input is optional. | ||
- **`pbuf_token`**: The API token for authenticating with the PBUF registry. This input is optional. | ||
|
||
## Usage | ||
|
@@ -25,6 +25,14 @@ steps: | |
- name: Install pbuf-cli | ||
uses: pbufio/[email protected] | ||
with: | ||
version: 'v0.3.2' # Optional, specify the desired version | ||
version: 'v0.3.2' # Optional. Specify the desired version | ||
pbuf_token: ${{ secrets.PBUF_TOKEN }} # Optional, your PBUF API token | ||
``` | ||
|
||
- name: Register Module | ||
id: pbuf-register | ||
run: pbuf-cli modules register | ||
|
||
- name: Push module | ||
id: pbuf-push | ||
run: pbuf-cli modules push ${{ github.ref_name }} | ||
``` |