mirror of
https://github.com/tj-actions/branch-names.git
synced 2024-12-27 14:27:59 +08:00
Update README.md
This commit is contained in:
parent
bb14d13758
commit
8b68b1bd74
@ -215,7 +215,7 @@ on:
|
||||
# Outputs: "v0.0.1" OR "0.0.1"
|
||||
```
|
||||
|
||||
### Possible usage with [actions/checkout@v2](https://github.com/actions/checkout):
|
||||
### Possible usage with [actions/checkout](https://github.com/actions/checkout):
|
||||
|
||||
```yaml
|
||||
on:
|
||||
@ -230,7 +230,7 @@ on:
|
||||
- name: Get branch names.
|
||||
id: branch-names
|
||||
uses: tj-actions/branch-names@v6
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
ref: ${{ steps.branch-names.outputs.head_ref_branch }}
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user