forked from seepine/hash-files
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathaction.yml
More file actions
33 lines (33 loc) · 1.13 KB
/
action.yml
File metadata and controls
33 lines (33 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: 'hash-files'
description: 'Compute the SHA256 hash of specified files'
author: 'seepine'
inputs:
workdir:
description: >
The working directory for the action.
default: ${{ github.workspace }}
required: false
patterns:
description: >
The patterns used to match files. You can input multiple patterns seperated by `\n`.
We recommand using `|` to concat the patterns in `.yml` files.
required: true
gitignore:
description: >
Respect ignore patterns in .gitignore files that apply to the globbed files.
default: true
required: false
ignoreFiles:
descruption: >
Glob patterns to look for ignore files, which are then used to ignore globbed files.
This is a more generic form of the gitignore option, allowing you to find ignore files with a compatible syntax.
For instance, this works with Babel's .babelignore, Prettier's .prettierignore, or ESLint's .eslintignore files.
required: false
outputs:
hash:
description: 'The computed hash result'
matched-files:
description: 'The files matched by the patterns'
runs:
using: 'node16'
main: 'dist/index.js'