mirror of
https://github.com/extractions/setup-just
synced 2026-09-14 20:13:55 +00:00
doc: update example code with the latest gha version (#16)
This commit is contained in:
@@ -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.
|
In most cases all you will need is the following in your workflow.
|
||||||
|
|
||||||
```yaml
|
```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
|
If you want a specific version of `just` you can specify this by passing the
|
||||||
`just-version` input.
|
`just-version` input.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: extractions/setup-just@v1
|
- uses: extractions/setup-just@v2
|
||||||
with:
|
with:
|
||||||
just-version: '1.4.0'
|
just-version: '1.4.0'
|
||||||
```
|
```
|
||||||
@@ -29,7 +29,7 @@ automatically used to authenticate calls to Github. To override it, set the
|
|||||||
environment variable `GITHUB_TOKEN` or pass the input `github-token`.
|
environment variable `GITHUB_TOKEN` or pass the input `github-token`.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: extractions/setup-just@v1
|
- uses: extractions/setup-just@v2
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
```
|
```
|
||||||
@@ -37,7 +37,7 @@ environment variable `GITHUB_TOKEN` or pass the input `github-token`.
|
|||||||
or
|
or
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: extractions/setup-just@v1
|
- uses: extractions/setup-just@v2
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.MY_GITHUB_TOKEN }}
|
github-token: ${{ secrets.MY_GITHUB_TOKEN }}
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user