You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
598 B
YAML

2 years ago
name: 'Go HashFiles'
description: 'Compute the SHA256 hash of specified files'
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
outputs:
hash:
description: 'The computed hash result'
matched-files:
description: 'The files matched by the patterns'
runs:
using: 'go'
main: 'main.go'