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
This strategy allows you to specify a folder that contains all the files you want signed. There are options available for narrowing the focus as well. For example, you can use the `files-folder-filter` input to specify that you only want `exe` files to be signed.
143
+
This strategy allows you to specify a folder that contains all the files you want signed. There are options available for narrowing the focus as well. For example, you can use the `files-folder-filter` input to specify that you only want `exe` files to be signed. See [about_Wildcards](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_wildcards) for more information on using wildcards with the `files-folder-filter` input.
136
144
137
145
```yaml
138
146
# The folder containing files to be signed. Can be combined with the file-catalog input.
# A comma separated list of file extensions that determines which types of files will be signed in the folder specified by the files-folder input. Any file type not included in this list will not be signed. If this input is not used, all files in the folder will be signed.
149
+
# A comma separated list of file extensions that determines which types of files will be signed in the folder specified by the files-folder input. Any file type not included in this list will not be signed. If this input is not used, all files in the folder will be signed. Supports wildcards for matching multiple file names with a pattern.
142
150
files-folder-filter: dll,exe,msix
143
151
144
152
# A boolean value (true/false) that indicates if the folder specified by the files-folder input should be searched recursively. The default value is false.
@@ -148,6 +156,25 @@ files-folder-recurse: true
148
156
files-folder-depth: 2
149
157
```
150
158
159
+
Given the following directory structure:
160
+
```txt
161
+
C:.
162
+
└───files
163
+
System.dll
164
+
Foo.Bar.Core.dll
165
+
Foo.Bar.Utilities.dll
166
+
Foo.Bar.exe
167
+
LICENSE.md
168
+
```
169
+
170
+
Here is an example of inputs that can be used to specify that only the `Foo.Bar.*` files are signed:
171
+
```yaml
172
+
files-folder: ${{ github.workspace }}\files
173
+
files-folder-filter: Foo.Bar.*.dll,*.exe
174
+
files-folder-recurse: false
175
+
files-folder-depth: 1
176
+
```
177
+
151
178
#### Files Catalog
152
179
This strategy allows you to specify a precise list of files to be signed.
153
180
@@ -156,6 +183,26 @@ This strategy allows you to specify a precise list of files to be signed.
Here is an example of a `catalog.txt` file that can be used to specify that only the `Foo.Bar.*` files are signed:
200
+
```txt
201
+
./files/Foo.Bar.Core.dll
202
+
./files/Foo.Bar.Utilities.dll
203
+
./files/Foo.Bar.exe
204
+
```
205
+
159
206
### Digest Algorithm
160
207
```yaml
161
208
# The name of the digest algorithm used for hashing the file being signed. The supported values are SHA256, SHA384, and SHA512. The default value is SHA256.
0 commit comments