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
If the sbt or mill build definition files are in a sub-directory, pass the path to this
17
+
sub-directory here.
18
+
default: '.'
19
+
20
+
coursier-cache-path:
21
+
required: false
22
+
description: >
23
+
Override for the path of the coursier cache.
24
+
By default, the coursier cache is assumed to be in the default OS-dependent location.
25
+
Set this input to override that. Note that this action will also set COURSIER_CACHE
26
+
if an override is specified, so that you don't have to set it yourself.
27
+
default: ''
28
+
29
+
coursier-cache-job:
30
+
required: false
31
+
description: >
32
+
Job name, to be used in the cache key, so that each job has its own cache.
33
+
default: '${{ github.job }}'
34
+
35
+
coursier-cache-matrix:
36
+
required: false
37
+
description: >
38
+
Matrix values, when using the matrix strategy.
39
+
When using build matrices for more than the OS (for Scala versions, JDKs, test suites, …),
40
+
pass the matrix values here, with `matrix: -dollar-{{ toJson(matrix) }}`. The matrix instance is hashed,
41
+
and added to the cache key, so that each matrix instance has its own cache, and those caches don't
42
+
collide.
43
+
default: '${{ toJson(matrix) }}'
44
+
45
+
coursier-cache-extraFiles:
46
+
required: false
47
+
description: >
48
+
Extra files to take into account in the cache key.
49
+
By default, sbt build definition files (*.sbt, project/**.{scala,sbt}, project/build.properties) and
50
+
mill build definition files (*.sc, ./mill) are hashed to uniquely identify the cached data. Upon
51
+
cache restoration, if an exact match is found, the cache is not saved again at the end of the job.
52
+
In case of no exact match, it is assumed new files may have been fetched; the previous cache for the
53
+
current OS, if any, is restored, but a new cache is persisted with a new key at the end of the job.
54
+
To take into account extra files in the cache key, pass via extraFiles either
55
+
- a single path as a string
56
+
- multiple paths in a JSON array, encoded in a string
57
+
Blobs are accepted (processed by [glob-all](https://www.npmjs.com/package/glob-all)).
58
+
default: ''
59
+
60
+
coursier-cache-extraKey:
61
+
required: false
62
+
description: >
63
+
Extra value to be appended to the coursier cache key.
64
+
See extraFiles for more details.
65
+
default: ''
66
+
67
+
coursier-cache-extraHashedContent:
68
+
required: false
69
+
description: >
70
+
Extra content to take into account in the cache key.
71
+
See extraFiles for more details.
72
+
The content of extraHashedContent is taken into account in the hash for the coursier cache key.
73
+
default: ''
74
+
75
+
coursier-cache-extraSbtFiles:
76
+
required: false
77
+
description: >
78
+
Extra sbt files to take into account in the sbt cache key. Same format as extraFiles.
79
+
default: ''
80
+
81
+
coursier-cache-extraSbtKey:
82
+
required: false
83
+
description: >
84
+
Extra value to be appended to the sbt cache key.
85
+
See extraFiles for more details.
86
+
default: ''
87
+
88
+
coursier-cache-extraSbtHashedContent:
89
+
required: false
90
+
description: >
91
+
Extra content to take into account in the sbt cache key. Same format as extraHashedContent.
92
+
default: ''
93
+
94
+
coursier-cache-extraMillFiles:
95
+
required: false
96
+
description: >
97
+
Extra mill files to take into account in the mill cache key. Same format as extraFiles.
98
+
default: ''
99
+
100
+
coursier-cache-extraMillKey:
101
+
required: false
102
+
description: >
103
+
Extra value to be appended to the mill cache key.
104
+
See extraFiles for more details.
105
+
default: ''
106
+
107
+
coursier-cache-extraMillHashedContent:
108
+
required: false
109
+
description: >
110
+
Extra content to take into account in the mill cache key. Same format as extraHashedContent.
111
+
default: ''
112
+
113
+
coursier-cache-ammoniteScripts:
114
+
required: false
115
+
description: >
116
+
Ammonite scripts to take into account in the Ammonite cache key. Same format as extraFiles.
117
+
default: ''
118
+
119
+
coursier-cache-extraAmmoniteKey:
120
+
required: false
121
+
description: >
122
+
Extra value to be appended to the Ammonite cache key.
123
+
See extraFiles for more details.
124
+
default: ''
125
+
126
+
coursier-cache-extraAmmoniteHashedContent:
127
+
required: false
128
+
description: >
129
+
Extra content to take into account in the Ammonite cache key. Same format as extraHashedContent.
130
+
default: ''
131
+
132
+
jabba-version:
133
+
description: 'The Jabba version to install.'
134
+
required: false
135
+
default: '0.11.2'
136
+
10
137
java-version:
11
138
description: 'The Java version to install.'
12
139
required: false
@@ -17,6 +144,15 @@ inputs:
17
144
required: false
18
145
default: 'latest'
19
146
147
+
node-always-auth:
148
+
description: 'Set always-auth in npmrc'
149
+
required: false
150
+
default: 'false'
151
+
152
+
node-architecture:
153
+
description: 'Target architecture for Node to use. Examples: x86, x64. Will use system architecture by default.'
154
+
required: false
155
+
20
156
node-cache:
21
157
description: 'Used to specify a package manager for caching in the default directory. Supported values: npm, yarn, pnpm'
22
158
required: false
@@ -25,8 +161,26 @@ inputs:
25
161
description: 'Used to specify the path to a dependency file: package-lock.json, yarn.lock, etc. Supports wildcards or a list of file names for caching multiple dependencies.'
26
162
required: false
27
163
164
+
node-check-latest:
165
+
description: 'Set this option if you want the action to check for the latest available version that satisfies the version spec'
166
+
required: false
167
+
default: 'false'
168
+
169
+
node-registry-url:
170
+
description: 'Optional registry to set up for auth. Will set the registry in a project level .npmrc and .yarnrc file, and set up auth to read in from env.NODE_AUTH_TOKEN'
171
+
required: false
172
+
173
+
node-scope:
174
+
description: 'Optional scope for authenticating against scoped registries'
175
+
required: false
176
+
177
+
node-token:
178
+
description: Used to pull node distributions from node-versions. Since there's a default, this is typically not supplied by the user.
179
+
required: false
180
+
default: ${{ github.token }}
181
+
28
182
node-version:
29
-
description: 'The Node version to install.'
183
+
description: 'Version Spec of the version to use. Examples: 12.x, 10.15.1, >=10.15.0'
0 commit comments