Skip to content

Commit

Permalink
doc: update example code with the latest gha version (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
zzztimbo authored Mar 31, 2024
1 parent dd310ad commit d91bfae
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ This GitHub Action will install a release of the
In most cases all you will need is the following in your workflow.

```yaml
- uses: extractions/setup-just@v1
- uses: extractions/setup-just@v2
```
If you want a specific version of `just` you can specify this by passing the
`just-version` input.

```yaml
- uses: extractions/setup-just@v1
- uses: extractions/setup-just@v2
with:
just-version: '1.4.0'
```
Expand All @@ -29,15 +29,15 @@ automatically used to authenticate calls to Github. To override it, set the
environment variable `GITHUB_TOKEN` or pass the input `github-token`.

```yaml
- uses: extractions/setup-just@v1
- uses: extractions/setup-just@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
```

or

```yaml
- uses: extractions/setup-just@v1
- uses: extractions/setup-just@v2
with:
github-token: ${{ secrets.MY_GITHUB_TOKEN }}
```
Expand Down

0 comments on commit d91bfae

Please sign in to comment.