You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+42-30Lines changed: 42 additions & 30 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,9 @@
1
1
[](https://github.com/actions/checkout/actions/workflows/test.yml)
2
2
3
+
# Checkout V5
4
+
5
+
Checkout v5 now supports Node.js 24
6
+
3
7
# Checkout V4
4
8
5
9
This action checks-out your repository under `$GITHUB_WORKSPACE`, so your workflow can access it.
@@ -36,7 +40,7 @@ Please refer to the [release page](https://github.com/actions/checkout/releases/
36
40
37
41
<!-- start usage -->
38
42
```yaml
39
-
- uses: actions/checkout@v4
43
+
- uses: actions/checkout@v5
40
44
with:
41
45
# Repository name with owner. For example, actions/checkout
42
46
# Default: ${{ github.repository }}
@@ -149,32 +153,40 @@ Please refer to the [release page](https://github.com/actions/checkout/releases/
149
153
150
154
# Scenarios
151
155
152
-
- [Fetch only the root files](#Fetch-only-the-root-files)
153
-
- [Fetch only the root files and `.github` and `src` folder](#Fetch-only-the-root-files-and-github-and-src-folder)
154
-
- [Fetch only a single file](#Fetch-only-a-single-file)
155
-
- [Fetch all history for all tags and branches](#Fetch-all-history-for-all-tags-and-branches)
156
-
- [Checkout a different branch](#Checkout-a-different-branch)
157
-
- [Checkout HEAD^](#Checkout-HEAD)
158
-
- [Checkout multiple repos (side by side)](#Checkout-multiple-repos-side-by-side)
0 commit comments