Update README to use @v0 version tag
The v1 tag doesn't exist yet — use v0 to match the current 0.x.x release series. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -6,7 +6,7 @@ A GitHub Action to install the [GitHub Copilot CLI](https://github.com/github/co
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/setup-copilot@v1
|
- uses: actions/setup-copilot@v0
|
||||||
with:
|
with:
|
||||||
version: "latest" # optional, defaults to "latest"
|
version: "latest" # optional, defaults to "latest"
|
||||||
github-token: ${{ secrets.COPILOT_TOKEN }} # optional, defaults to github.token
|
github-token: ${{ secrets.COPILOT_TOKEN }} # optional, defaults to github.token
|
||||||
@@ -31,13 +31,13 @@ steps:
|
|||||||
### Install latest version
|
### Install latest version
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: actions/setup-copilot@v1
|
- uses: actions/setup-copilot@v0
|
||||||
```
|
```
|
||||||
|
|
||||||
### Install a specific version
|
### Install a specific version
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: actions/setup-copilot@v1
|
- uses: actions/setup-copilot@v0
|
||||||
with:
|
with:
|
||||||
version: "1.2.3"
|
version: "1.2.3"
|
||||||
```
|
```
|
||||||
@@ -45,7 +45,7 @@ steps:
|
|||||||
### Use with a custom token
|
### Use with a custom token
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: actions/setup-copilot@v1
|
- uses: actions/setup-copilot@v0
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.GH_TOKEN }}
|
github-token: ${{ secrets.GH_TOKEN }}
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user