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
+32-5Lines changed: 32 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ By default, installs latest versions of `ytt`, `kbld`, `kapp`, `kwt`, `imgpkg`,
13
13
14
14
```yaml
15
15
steps:
16
-
- uses: carvel-dev/setup-action@v2
16
+
- uses: carvel-dev/setup-action@v3
17
17
- run: |
18
18
ytt version
19
19
kbld version
@@ -23,7 +23,7 @@ steps:
23
23
24
24
```yaml
25
25
steps:
26
-
- uses: carvel-dev/setup-action@v2
26
+
- uses: carvel-dev/setup-action@v3
27
27
with:
28
28
token: ${{ secrets.GITHUB_TOKEN }}
29
29
- run: |
@@ -35,7 +35,7 @@ To install only specific apps:
35
35
36
36
```yaml
37
37
steps:
38
-
- uses: carvel-dev/setup-action@v2
38
+
- uses: carvel-dev/setup-action@v3
39
39
with:
40
40
only: ytt, kbld
41
41
- run: |
@@ -47,7 +47,7 @@ To exclude specific apps:
47
47
48
48
```yaml
49
49
steps:
50
-
- uses: carvel-dev/setup-action@v2
50
+
- uses: carvel-dev/setup-action@v3
51
51
with:
52
52
exclude: kwt, vendir
53
53
- run: |
@@ -59,7 +59,7 @@ To use a specific version of an app:
59
59
60
60
```yaml
61
61
steps:
62
-
- uses: carvel-dev/setup-action@v2
62
+
- uses: carvel-dev/setup-action@v3
63
63
with:
64
64
only: ytt, kbld
65
65
kbld: v0.28.0
@@ -68,6 +68,33 @@ steps:
68
68
kbld version
69
69
```
70
70
71
+
When you host the carvel repositories in your own github instance:
72
+
73
+
```yaml
74
+
steps:
75
+
- uses: carvel-dev/setup-action@v3
76
+
with:
77
+
instance: https://acme.github.com/api/v3
78
+
token: token-for-your-instance
79
+
- run: |
80
+
ytt version
81
+
kbld version
82
+
```
83
+
84
+
When you are running the action in your own github instance and want to retrieve carvel from the github.com:
85
+
86
+
```yaml
87
+
steps:
88
+
- uses: carvel-dev/setup-action@v3
89
+
with:
90
+
token: TOKEN-FROM-GITHUB.COM
91
+
- run: |
92
+
ytt version
93
+
kbld version
94
+
```
95
+
96
+
97
+
71
98
## Node version support
72
99
73
100
Version `v3` requires a Node 24 runner. If you're using older self-hosted runners, you can still use `v2` for Node 20 support or `v1` for Node 16 support.
Copy file name to clipboardExpand all lines: action.yml
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,10 @@ inputs:
9
9
description: Github token to use to avoid rate limits
10
10
required: false
11
11
default: ""
12
+
endpoint:
13
+
description: Defines the API endpoint to use instead of the default GitHub API. Useful for GitHub Enterprise users if they have the carvel tools in their GitHub instance.
14
+
required: false
15
+
default: "https://api.github.com"
12
16
only:
13
17
description: List apps to download if you don't need all
0 commit comments