1
0
Fork 0
mirror of https://github.com/actions/checkout.git synced 2025-03-28 11:00:05 +01:00

Clarify Changes in the docs

This commit is contained in:
Thomas Boop 2019-12-04 09:18:35 -05:00 committed by GitHub
parent 4817b449b0
commit eed9f98335
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,6 +3,7 @@
</p>
# Checkout V2 beta
The Checkout V2 beta is now available! You have automatically upgraded if you bound to the `master` branch. If you did not mean to upgrade, please bind to `uses: actions/checkout@v1`. Please see the [action versioning docs](https://github.com/actions/toolkit/blob/master/docs/action-versioning.md) for more information.
This action checks-out your repository under `$GITHUB_WORKSPACE`, so your workflow can access it.
@ -66,7 +67,7 @@ Refer [here](https://github.com/actions/checkout/blob/v1/README.md) for previous
## Checkout a different branch
```yaml
- uses: actions/checkout@preview
- uses: actions/checkout@v2-beta
with:
ref: some-branch
```
@ -74,7 +75,7 @@ Refer [here](https://github.com/actions/checkout/blob/v1/README.md) for previous
## Checkout a different, private repository
```yaml
- uses: actions/checkout@preview
- uses: actions/checkout@v2-beta
with:
repository: myAccount/myRepository
ref: refs/heads/master